Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to develop using ejb  RSS feed

 
vidya archana
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
currently i am working with servlets,jsp,javabeans,Now i want to introduce ejb in my projects.Since my problem is that during development is it tedious to deploy the whole application if i change anything .Then how could i test the ejb for the business logic .I know some one working can answer it simply.
so please help by how easily i can develop with ejb.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JUnit (or some simmilar Unit Test harness) is a good way to go. You can deploy your EJB layer in a seperate jar from your servlets and thoroughly unit test them in isolation before doing any integration. A very good practice.
[ November 10, 2004: Message edited by: Paul Sturrock ]
 
Douglas Kent
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to deploy EJB's separately. Just use the jar format instead of including them in the EAR file.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!