• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Is there good EJB3 book?

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 140
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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"
 
Bupjae Lee
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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', ...)
 
Author
Posts: 3473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bupjae Lee
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
That is a really big piece of pie for such a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic