• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to develop j2ee in detail

 
Niu Xiuyuan
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic