• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Directory Structure

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting confused in trying to come up with a directory structure for a
enterprise app. This app will include a web. app as well as some EJB's.
I have taken a look at the recommended directory structures but it still leaves some questions answered.

Any inputs--- about what the structure should be where to place EJB classes etc.
Thanks.
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we know whats your confusions and so that we can direct you.
Usually,
Enterprise Application -> (EAR FILE) application.xml
->Web Module(s) (WAR FILES) web.xml
->EJB Module(s)(EJB JAR FILES)ejab-jar.xml
-> Java Module(s) (JAR FILES) utility.jar files
This is as simple as that.
Still confused? Can we share your thoughts first?
 
Roberto Diaz
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess what I wanted to ask is if setting up a one directory structure that includes EJB's, web components and everything else is the right approach.
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused:-)
How can you encapsulate EJBS and Web Components together, other than separate WAR files and EjB jar files, and put them in EAR File? Yes, EAR file contains everything, but your EJB Jar file (running in EJB Container) and WAR file (run inside Web containers) need to be separate.
Not yet clear? Pls let me know..
 
Don't play dumb with me! But you can try this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic