aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Is there good EJB3 book? 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 "Is there good EJB3 book?" Watch "Is there good EJB3 book?" New topic
Author

Is there good EJB3 book?

Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107
I studied EJB2 w/ "Head First EJB" I bougut 1.5 years ago.

And, I decided to use this knowledge (and Servlet/JSP) to make some web-browser-based game (like Archmage).

However, the world(!) has been changed a lot, and I feel my book is out-of-date.

I'm confusing because of bunch of annotation and persistance blahblah, ...

Question:

* Is my book useless nowadays?

* Is there Head First series regarding new EJB3?

* If not, can you recommand some good EJB3 book?
kurt hanni
Ranch Hand

Joined: Aug 11, 2007
Posts: 140

Yes your book is useless, unless you really want to know EJB2. A lot has been changed in EJB3 its a complete overhaul of EJB2, much simpler and faster to code.

There is no head First for EJB3, try reading "EJB3 in Action by Manning" or "OReilly Enterprise JavaBean 3.0"


SCJA, SCJP, SCJD, SCMAD, SCWCD, SCBCD, SCDJWS, SCEA, SOA, Spring Certified, OCP MySQL 5 Developer, PMP
Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107
Thanks for recommandation.

I'll go to local bookstore and find these books tomorrow.

I hope my previous knowledge is not completely useless,
(like 'difference between stateful and stateless session', ...)
arulk pillai
Author
Ranch Hand

Joined: May 31, 2007
Posts: 3258
I hope my previous knowledge is not completely useless,



I don't think it is completely useless. You can still bring forward the highlevel concepts.


500+ Java Interview Questions and Answers | Java job hunting know how & Java resumes
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3716
    
    5

Unless you're switching to Hibernate or some other technology, its not useless. A lot of the basic principals, especially with session and message driven beans are the same. The entity is the major throw away part, although if you're in the EJB3 world its good to know the background of EJB2, especially if you have to face it at some point.


My Blog: Down Home Country Coding with Scott Selikoff
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30929
    
158

Bupjae,
I wouldn't recommend buying the Head First book at this point. if you already own it, the book is still worth reading for concepts. You just have to remember that the details (syntax) doesn't apply anymore and skip the entity bean parts. Also, don't focus too much on the certification questions as you wouldn't be taking an EJB 2 exam.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107
Thanks for reply.

I couldn't buy a book today because unexpected VIP(?) visited my dormitory. Maybe tomorrow could buy the book.

Instead, I googled some EJB3 introduction and tutorial sites and I think there were not many differences in basic concepts for session and message beans.

But, I think entity bean was changed completely, and need some research(?).

I installed Glassfish V2 and I'll do my best to study new EJB3.

PS1) The word "googled" is against UseRealWords rule?
PS2) Is there free web hosting site supporting EJB?
PS3) Why entity bean changed completely?
[ August 30, 2008: Message edited by: Bupjae Lee ]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30929
    
158

Originally posted by Bupjae Lee:
I think there were not many differences in basic concepts for session and message beans.

But, I think entity bean was changed completely, and need some research(?).

Session beans and message driven beans had some syntax changes, but all the concepts stayed the same. You are correct that entity beans changed completely.

> PS1) The word "googled" is against UseRealWords rule?
Googled shouldn't be against the rule. It let me post it. Were you using a different spelling of it perhaps?

> PS2) Is there free web hosting site supporting EJB?
I don't of any. Mycgiserver.com used to but I think they went out of business. You can install JBoss on your own machine for learning though. You just wouldn't be able to host for free.

> PS3) Why entity bean changed completely?
Scott (the moderator of this forum) actually wrote a blog entry about this recently.

[edited to state it let me post googled]
[ August 30, 2008: Message edited by: Jeanne Boyarsky ]
Bupjae Lee
Ranch Hand

Joined: May 14, 2007
Posts: 107
When I read Head First EJB, it was said that "EJB 2.0 CMP is better 1,000,000 times than EJB 1.1" (about p.305? - My mother language is not English so I have translated book) so I thought everyone was happy with EJB 2.0 CMP.

However, after I read the doom of EJB2 CMP today, I understand that my first thought was wrong and why entity beans are changed completely.

When I googled for EJB3 first time, the word "Hibernate" came out often, but I didn't know what and why. Now, I understand what is Hibernate.

Can I think that "de facto standard" finally become "standard" for EJB3?
[ August 30, 2008: Message edited by: Bupjae Lee ]
 
Consider Paul's rocket mass heater.
 
subject: Is there good EJB3 book?