This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes the best arrangement for my j2ee project Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "the best arrangement for my j2ee project" Watch "the best arrangement for my j2ee project" New topic
Author

the best arrangement for my j2ee project

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 403
hello
i haven't ejb developing experience,now i want to use ejb develop my application in jbuilder,in my application,there is a web application and enterprise application,i wonder which is the best arrangement for my project?
1 create two projects,one for the web app,other for the enterprise app.
2 one project host all of the web and enterprise apps

what's your oppinion?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I think you should develop one web application and one EJB application and then deploy them within one enterprise application:
myapplication.ear [enterprise application]
- myejbs.jar [ejb application]
- mywebapp.war [web application]


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
I would go further to say that you should use Ant to build your application. This will break your dependency on JBuilder and make it easier for other members of your team (if any) to perform the same exact build.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: the best arrangement for my j2ee project
 
Similar Threads
Error while using lookup
log question
Enterprise project
nullpointer exception while trying to connect
Deploying WAR+EJB without EAR