Forums Register Login

Which implementation to choose for a Web Service

+Pie Number of slices to send: Send
Hello everybody
I am working to an application that has been designed as a collection of Web Services, and I am trying to understand which implementation is most suitable. I have never been developing J2EE applications but I know that a Web Service for example may be implemented as an EJB. But it may also be implemented as a Servlet as well...
I was thinking that having some examples of real implementations in mind it would have helped me.
So I am here to ask you to send me a brief description of any 'case' you have worked on.
Thank you very much,
Marco
+Pie Number of slices to send: Send
Generally, I would only use an EJB if one of the other requirements called for an EJB -- that is do you need method-level security, 2PC transactions or distribution. Otherwise, implementing a web services as a Plain old Java Class (called the "Java Bean" approach) often works best.
Kyle
+Pie Number of slices to send: Send
Hi There!!!
It sounds very intresting but i have one suggestion its like If u are using a Set of Web Services and you wanna call them go with Servlet approach and Bean will be the end processor of the Request. In any case U communicate over HTTP so the controler will be Servlet and Model will be Bean. More over the Servlet implementation for a Web Services is quite flexible and easy to implement.
Well i convenyed my Idea.. hope this will Help U
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 945 times.
Similar Threads
Hi..help required
Web Services accessible via HTTP using IBM WebSphere Studio Application Developer
Query regarding RPC/Document Style,WSGEN and WSIMPORT
Some abstract methods from standard API: how to find where implemented?
creating web service client
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:37:17.