jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes how to develop j2ee in detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to develop j2ee in detail" Watch "how to develop j2ee in detail" New topic

how to develop j2ee in detail

Niu Xiuyuan
Ranch Hand

Joined: Jun 08, 2001
Posts: 68
I am a novice in the realm of j2ee,i have studyed j2ee for a long time,while i am still puzzled by a question, then i would speak it in detail,who can help me to solve it.
As we known, that when we develp j2ee relatived program, we first develop .jar or .war. or .ear files, and then deploy them in your container like weblogic or websphere and so on.but in the practice,we can't do it perfectly,in fact, we have to revise it again and again,for example, as usual, we have to revise a sevlet many times.That means i have to deploy files again and again, but for many application server, we have to restart it for redeployment,as we known, the course of restart application server is so time-consuming.So we always waste our time in waiting.who can tell me how to develop j2ee component and how to deploy them in detail,i means the total courses of development.

Sun Certified Java Programmer<br />Sun Certified Web Component Developer
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Most Application Servers support hot deployment of components (Servlets/JSP and EJBs). The only time you really need to restart an Application Server during development is if you change your EJB's interface, implementation can change all you want, interface changes usually require a reboot. Unless your application aggressively pins objects during startup then you shouldn't be rebooting as much as you imply.
Niu Xiuyuan
Ranch Hand

Joined: Jun 08, 2001
Posts: 68
First, thank you for your response.
I think chane interface is very common,that is because the business logic is always changes.
I am using weblogic,i always have to restart server for the revision of servlet.
And I have to spend a lot of time in javac .java files and jar .class files,escpicail in development of EJBs.
How to do to..help me..help me!
Felix Kan

Joined: Aug 12, 2002
Posts: 8
To avoid repeatedly typing javac and jar, I have a couple of suggestions:
1. Use a build tool. I'm recommending Ant: http://jakarta.apache.org/ant/
2. Use an IDE. I'm recommending Eclipse: http://www.eclipse.org/eclipse/
Both are free and excellent tools that makes your life a lot easier as a java developer.
I agree. Here's the link: http://aspose.com/file-tools
subject: how to develop j2ee in detail
It's not a secret anymore!