Hi,
I have to call
EJB from standalone
java application. EJB is developed in Websphere 5.1 J2EE 1.3 and is deployed on the server. (AIX Websphere, on remote machine)
When I call it from 'Client Application project' developed in WASAD, it works fine (with unacceptable response time). But when I try to run the same project from command prompt it dosent work, and gives lot of issues. (like IBM java vs Sun java etc)
So finally I decided to write
servlet to serve the same purpose and call it from standalone application, instead of calling EJB.
My question is:
Is this a correct design? What are pros and cons?
Is there discussion on the comparision of these 2 approaches?
(I just dont want to do it cause I am not able to call EJB from standalone, but also want to know which way is better to do. )
Please provide your suggestion or reference.
Thanks in advance.
Manoj