Problem in Deploying EJB Component ..........

5 views
Skip to first unread message

ankur

unread,
Feb 16, 2008, 4:51:35 AM2/16/08
to Adaptive Learning
dear Parag Shah Sir,
I am facing a problem in deploying an
EJB component in Weblogic Server 10 and also in using that component
from the client side.


I will tell u a bit more detail about it.
Its a simple calculator sort of application.
I am attaching the files and telling abt them.

1 . the file calculatorhome.java is the home interface.

2. file calculator.java is the remote interface.

3. calculatorejb.java is the bean class (which contain the business
logic)

there are 2 xml files which are deployement
descriptor.

1. ejb-jar.xml

2. weblogic-ejb-jar.xml

and the client side java file is
calculatorclient.java .....which is supposed to interact with
the home interface.


Now my doubt is which files should i take and
create jar,war and ear files, then how to deploy it and finally how
the client will access it(can the simple java program access it or i
need to create jsp page for that.... and can u plz show how to do it
with the file i have attached)
plz see the file
calculator.rar which i have uploaded in this group.

thanks a
lot .

Ankur Chopra

SCIT

SDM 2006-08

Reply all
Reply to author
Forward
0 new messages