Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB  RSS feed

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm new to J2EE and in the middle of learning it.

- is EJB still worthed to learn? there is one book with title "... without EJB". I heard EJB to complex to implement and maintain. is Strut based on EJB?

- which book has complete sample of developing application using J2EE such as online shopping cart? I would like it shows how to design properly as well, might using XML and XSLT for ease of modification.

thanks all
tony
 
Kris Philippaerts
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by let itbe:
- is EJB still worthed to learn? there is one book with title "... without EJB". I heard EJB to complex to implement and maintain. is Strut based on EJB?


EJB's is a technology like an other. EJB's give you an environment in which you can develop flexible and scalable applications. There are other methodologies, like Spring, that offer an alternative to EJB's. But both methodologies have there pro's and con's. I guess the biggest con with EJB's are the entity beans. But I think the EJB 3 specs will take care of that problem. Second, the EJB spec is quite a difficult spec with a big treshold for starters. But a well written EJB applications (with the common J2EE design patterns in place) should not be that hard to maintain. At least, not harder than other applications. So learning EJB will not be a waste of time.

Struts is a framework build on the JSP technology. Not on J2EE. Struts is often used as the view/controller tier of a J2EE applications, but it can also be used for any other java web appliaction. (You can use it on a Tomcat server for example)

HTH,
Kris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!