• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server For EJB

 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to EJB.

In HF EJB book its mentioned download RI from sun, but i didnt find RI in sun site.

I tried with GlassFish, but i am not able to configure it.

Please, let me know how to configure GlassFish for EJB.
if you can, tell the steps what you did in your system to configure GlassFish.

Thanks In Advance.
Bennet Xavier
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's one tutorial here.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Christophe Verre,

i did the thing in the material, but its saying following message and server is not starting.

C:\glassfish\bin>asadmin start-domain this was the command i used.

Domain directory C:\glassfish\domains is not a directory or does not exist.
CLI156 Could not start the domain undefined.

Do reply...
[ August 30, 2008: Message edited by: Bennet Xavier ]
 
kurt hanni
Ranch Hand
Posts: 140
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using glassfish + netbeans bundle, just install it no need to configure anything, then you could start coding EJBs.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i dont know anything about netbeans.

Ok..i will do that and reply you...
 
Joe Harry
Ranch Hand
Posts: 10112
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kurt hanni:
Hi,

I'm using glassfish + netbeans bundle, just install it no need to configure anything, then you could start coding EJBs.


Which version of netBeans do you use?
 
kurt hanni
Ranch Hand
Posts: 140
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi jothi, I use netbeans 6.1.

to Bennet, you can download it here netbeans.

then you can follow this tutorial
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kurt hanni,

i started the server after installing the bundle(netBeans+GlassFish).

server is up and running.

but i saw some thing different in HF EJB Book "Deploying tool"

how to deploy the Bean that you have created.

In deploying tool we are selecting the Home Interface, Component Interface and the Bean class.

where to do all this thing.

Any material for this.

Do reply...
 
Chaminda Amarasinghe
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maven is a one click build tool for any java application
 
kurt hanni
Ranch Hand
Posts: 140
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The samples in HFEJB are for EJB2, its outdated and completely different from EJB3.

If your going to follow the samples in Head First it would be a totally different approach, much harder and complicated.

you should read a different book for EJB3.
[ August 30, 2008: Message edited by: kurt hanni ]
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kurt hanni,

preparing for certification means we should know some detailed thing know. thats why i am asking all his details.

if we use netbeans or other IDE, it hide the complexity and detail of how the thing works together.

i need to know all this details.

please dont mistake me for saying like this.

then which book should i follow for EJB3.0

do reply.
 
kurt hanni
Ranch Hand
Posts: 140
Eclipse IDE Java Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bennet,

You can read "EJB3 In Action by Manning" or "OReilly Enterprise JavaBean 3.0", you'll see its completely different (ex. no more home/component interfaces to implement... ).

I dont see using netbeans hiding the details, it just automates most of the coding for you, but you can still see all the implementations.

thanks.
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi kurt hanni,

i am totally new to EJB, will that book helps me to understand.

is there any help for netbeans6.1 to develop and deploy the Beans.

if you can, tell me what you will do to deploy the beans using netbeans.

i am expecting the steps.

do reply...
 
aleem khan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
i am also very new to EJB , infact just 3 days old.. got the book EJB 3.0 in Action, by Debu panda.. it is awesome book and have understood many concepts...and moreover EJB 3.0 is very very easy compare to EJB2.0 , no home interface etc, no xml descriptor..infact EJB 3.0 is just like POJO(Plain old java object) with a small difference... 1 yr back i had started EJB 2.0 and continued for 1 month, it was too complex so i left..now after 1 year i have started EJB 3.0 and already grasped many concepts.... I think even deplying would be easy, i haven't tried yet will try once i finish the book..
 
Bennet Xavier
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi lavani aleem khan,

thank you for your reply...

i am planning to buy EJB In Action 3.0 manning.

if you can.tell me the procedure to develooping and deploying the EJB.

do reply........
 
aleem khan
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also looking for that, but first i will finish full book and then go for practice . I guess using Jboss application server would be easy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic