Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservice & EJB

 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm very new to webservices.
Can i do the following task using webservice ?
I have a set of Ejb's deployed in App server.
I need to create a webservice that calls this & return some thing to client.
Is there any way for a remote client to call the ejb through a web service ?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by srini vasan:

Is there any way for a remote client to call the ejb through a web service ?


The idea would be to create to a ejb proxy method deployed as webservice.
The proxy method will locate the ejb, invoke the required ejb method and return the ejb generated result to the client(webservice user).
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Balaji Loganathan:


The idea would be to create to a ejb proxy method deployed as webservice.
The proxy method will locate the ejb, invoke the required ejb method and return the ejb generated result to the client(webservice user).


Thanks Balaji,
I have created it by seeing the documentation.
But tell me one thing To access the webservice i'm giving a proxy ( stub ) classes to the client ... that proxy refers to many classes ex: org.apache.soap does it mean that the client shd have these classes in the class path ? Although some hars are available for free download like apache jars some might be copy righted , in that case whats the solution ?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you need that jars.
If you shipping or redistributing the jars then better check the license file bundled with every package. Apache Axis uses Apache based License which is very flexible and easy to understand.
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Balaji Loganathan:
Yes you need that jars.
If you shipping or redistributing the jars then better check the license file bundled with every package. Apache Axis uses Apache based License which is very flexible and easy to understand.


Thanks Balaji..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic