• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

help ..

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I work as a Java Developer in a small mnc. I have done SCJP & my project was based on Core-java only . But yesterday I have given a new project on EJB . I dont know anything on EJB and I have just 3 days time to learn it . I have some generalized knowledge on Jsp/servet but no exp on EJB . plz help me with some good links & suggestions ................

how to start? how to end ? I dont know. 3 days only otherwise I
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've only been given 3 days to learn EJB? I'd go to your manager and suggest that is not enough time. If you look at the usual basic EJB courses offered by people like IBM or BEA, they all tend to be 5 days and are just introductions.
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree with the former writer, that it is a silly idea to make a good EJB implementation with only 3 days experience. You need more time.

regards,

Ronald
 
author
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Prasanna,

If you are starting out in EJB-land then you may want to
go right to EJB 3.0. Then you might actually have a chance,
although 3 days is still a little tight :-)

See the following for some tutorials:

http://www.oracle.com/technology/tech/java/ejb30.html

-Mike
 
Ranch Hand
Posts: 1704
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Prasanna, 3 days may not enough but still you can work. Just try know why EJB came into picture, what are the types of EJBs, and how you will use EJB. Remaining things you can learn while you work. good luck
 
Ronald Heukers
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And maybe an idea, buy Head First EJB, while you are working on a project you can read this book, it's a real good book
 
prasanna pati
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ya ,, studying HF as mush as I can , but can anybody here please post me an ebook ? I am not telling about illegal one but which r free ,, if any good ebook, study-material pdf anybody have please send me at once







[email protected]
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mastering Enterprise Java Beans Third Edition
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI ,

first you decide which bean you are going to use, then concentrate on that bean only. dont worry. ejb is nothing big. so simply read article in google.

you can get it ..

all the best.

regards
Gopal
 
prasanna pati
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks everybody for providing me some wonderful advice in this stressfull situation . I got one note on ejb .it is in the site >>

benmira.free.fr

I am asking all EJB gurus to rate it . If you say this is good & will provide good knowledge in very short time then I will read it .

plz do it .
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Be sure you get a good IDE. This can save you hours of banging your head against the wall. Also, with a good IDE, you do not have to know everything about EJBs to get started. Then keep your HF book ready for any questions you might have. You will learn more this way than trying to read a book from cover to cover.

A good IDE means you only have to write the business logic in the session beans and add business and create methods to your entity beans.

Also, try to use CMPs for your entity beans. Using CMP you can pump out 20 beans a day and never look back. Then most of your time will be spent writing business logic to use the entities in the session beans. This will reduce pain.

If you can do that, most of the issues will be in configuring your IDE and the beans.

First write your entity beans. Then front your entity beans with session beans (facade). Keep your beans small and focused to their job. Then write the classes that will use the session beans.

When choosing which type of bean to use, use entities similar to a regular JavaBeans (DAO). CMPs make it as easy as using regular JavaBeans. But CMPs are like JavaBeans on steriods; it persists the data to your data store automatically for you. But as far as usage it is still just setters and getters. Try really hard to use CMP entities if you can before going to BMP.

Session beans are for business logic. For session beans, start out with stateless and only go to statefull if you need the bean to retain data over multiple method calls. Using a stateless session bean is like using a static method in a util class, but again on steriods.

If you build them this way, the only difference you will notice in usage is you have to look up the home interface and call a find or create method on it before you can start using it.

Sun has a tutorial that might help, but it is for their IDE. I think you can get a demo version.

http://developers.sun.com/prodtech/javatools/jsenterprise/learning/tutorials/index.html

Here is the J2EE tutorial:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

If you do all this, you will have no problem. Good luck!
 
prasanna pati
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
for IDE we use ECLIPSE 3.0 with Jboss Aplication server & lomboz j2ee plugin .
 
prasanna pati
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks to ALL of you & special thanks to Rusty Enisin . feeling a lot easy now. If there is no javaranch then my condition would be really .
started my work . thanks again .
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic