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

1 view
Skip to first unread message
Message has been deleted

ankur

unread,
Feb 16, 2008, 5:25:51 AM2/16/08
to Java @ SCIT
dear 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)
http://groups.google.com/group/adaptive-learning?hl=en
plz go to this group and in it go to files section where i have
uploaded calculator.rar(u need to unzip it to see all the files in it)
Anyone apart from sir who can help me plz call
me on my cell and i will call u back or mail me at
chops...@gmail.com. I will be great full to you.

thanks a
lot .

Ankur Chopra

SCIT

SDM 2006-08

9975521583

Parag Shah

unread,
Feb 17, 2008, 12:34:07 PM2/17/08
to scit...@googlegroups.com
Hi Ankur,

I think you should be able to find a lot of information on the net on which files should go into the jar, and ear.

Also there are many ways by which a ejb bean can be accessed. You can use Applets. Webstart, or decide to create an html view layer with JSF or JSP pages.

--
Parag
Reply all
Reply to author
Forward
0 new messages