• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Enterprise WebApp Packaging

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently, my engineering group is in the process of refactoring our application code. The purpose of repackaging the code is to formalize and codify the separation of the different code modules. After repackaging is completed, there will be X distinct packages, where now there are only 2. These packages will have well defined dependencies on one another, and these dependencies will be enforced through the build. Each package will have its own build script. There will be another build script that will build all the packages together.


Currently, we have the following two packages:
1. Base package, call it BASE, containing the low level core architecture code for the webapp. For example, webservices, PDF generation, database connection classes, et al.
2. Whole j2ee webapp, call it APP. There are 3 APPS to be precise.

I am curious if anyone has any thoughts what works and what does not during a major code refactoring such as this one. What are the key Design and Deployment (D&D) considerations?

After a few discussions, the following code repackaging was proposed:
1. core.jar
2. j2eecore.jar
3. commons.jar
4. functionlity1.jar (engine1)
5. functionality2.jar (engine2)

The newly proposed breakdown may increase the complexity of building and deploying code to PRD servers. In addition, development of new JAVA or J2EE code may become non-trivial as engineers will need to be aware of interdependencies among 5+ packages.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it will make it much more easier because you only need to know the Interfaces of the layer below what you develop, and not have to worry about how any of those other layers are implemented.

Also

"syd cool"

Please click on the My Profile link above and change your display name to meet the JavaRanch Naming Policy of using your Real First and Real Last Names.

Thanks

Mark
 
Wait for it ... wait .... wait .... NOW! Pafiffle! A perfect tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic