• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Plz help me

 
ashok kumar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
I am a new bie to EJB.I went through the HFEJB but i am not able to run a sample program for Entity bean and Message Driven Bean.I know how to write the interfaces and bean class .But i didn't know how to map the JNDI in deployment descriptor I am using Jboss 4.0.2 server.Can any give me some tips or some URL's where i can found a sample program with deployment descriptor.
 
Vinh Hoang
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the other book: :-)
SCBCD Exam Study Kit from Manning
http://www.manning.com/sanghera
 
seemapanth Joshi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try the J2EE tutorial, the link is given at the top of this forum to under "SCBCD Links"

http://java.sun.com/j2ee/tutorial/1_3-fcs/

and there are a lot more just check out this link.
 
Kalle Anka
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

do not purchase the SCBCD if you wanna have examples of Entity and Message Beans because you wont get any. The book have only one example of a Session Bean which took me 4-5 frustrating days to get up and running... the book doesnt encourage you to do alot of experimenting yourself since it doesnt contain much code.

I'm now in the process of rereading the book and I still have alot of questionmarks that needs to be answered... Unlike the SCWCD from Manning (a book I defenitly can recomend), I dont feel like I now know how to program EJB. Perhaps the book is to focused on how to pass the exam.

best wishes
Kalle
 
Ahsan Jamil
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So You mean Head First EJB is better than SCBCD GUIDE ???
 
Kalle Anka
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ahsan,

no I cant make that claim since I havnt read Head First. And since I'm definitly not a good EJB programmer (nor taken the SCBCD yet), you should question my opionions. The objective of the book is to pass the SCBCD exam, and perhaps the author has focused too much on that objective.

I really feel bad saying bad things about this book... u know with the author Paul just recently being on javaranch and all. If my friends asked me today, I would recomend them to try their luck with other EJB books (like Head First).

best
Kalle
 
Ahsan Jamil
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its ok ...I also wanted to know which one is better Head First or SCBCD KIT?
Because im alredy using Enterprise Java Beans, EB Specs n few other gud notes.so i dont wana go for 2 more books.....coz it'll be 2 much 2 handle...u knw wat i mean???

Thanx
 
Ådne Brunborg
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm studying with the Head First EJB and I really like it. But you need to use other books, like Mastering Enterprise JavaBeans (and the spec), on the side. Why? Because HF isn't that good as a reference book to check out some detail or other.

The best thing about HF is that it is funny. It makes you (or at least me) want to read more. But it needs companion books - but these you can get for free. Mastering EJB can be downloaded for free from TheServerSide.com, and the EJB Spec from Sun.

And finally, visit JavaRanch SCBCD Links for some more info - among other things it rates some books
[ August 09, 2005: Message edited by: �dne Brunborg ]
 
seemapanth Joshi
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The best thing about HF is that it is funny


There is one more good thing about headfirst, apart from being funny it also makes complex things look very simple. I guess the authors have done a splendid job on that and thats another big plus.
 
Vinh Hoang
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used SCBCD Exam Study Kit by Dr. Paul Sanghera. It's pretty much self contained. I didn't have to use any other book.
 
Vinh Hoang
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much code does HFEJB has?
I think SCBCD Exam Study Kit has as much (if not more) as HFEJB, and enough for the exam. This is an Exam Study Kit. It's not written to help you do the experimentation. The exam questions do not involve much of a code in them...While SCJP is more code intensive, SCBCD is not.
I think SCBCD Exam Study Kit is an excellent book, simple, concise, yet comprehensive. All you need to apss the exam is there in it.


Originally posted by Kalle Anka:
Hi Ahsan,

no I cant make that claim since I havnt read Head First. And since I'm definitly not a good EJB programmer (nor taken the SCBCD yet), you should question my opionions. The objective of the book is to pass the SCBCD exam, and perhaps the author has focused too much on that objective.

I really feel bad saying bad things about this book... u know with the author Paul just recently being on javaranch and all. If my friends asked me today, I would recomend them to try their luck with other EJB books (like Head First).

best
Kalle

[ August 13, 2005: Message edited by: Vinh Hoang ]
 
bhilla ratna
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally I succeeded in deploying Entity bean.

download the source code of examples from this tutorial. And the follow the steps mentioned in the tutorial.

http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html

bhilla
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic