EJB accessing Google WebService API
In this sample, we will see the results of a webservices invocation from an Ejb:
Here is a quick architecture schema :
Index.html
We are here
call
search-google.jsp
Ask you to enter a Query String, get a handle on the GoogleClientEJB and tell it to execute the Query.
call
GoogleClientEJB
It's the real web service client. It will lookup a Service instance (automatically configured by JOnAS), get the appropriate Port instance and call the webservice. Results are then returned to the caller...
To see the result of a WebServices call from an EJB: Just Click here !