Forums Register Login

Either SessionBean or WebService(Performance)

+Pie Number of slices to send: Send
Hi,

Does anyone performancewise which one is better either a StatelessSessionBean or a webservice?
My Client and the service which I am going to expose will be implemented only on java. So which one would be faster?
One thing about webservice is that it has to convert the xml object to java and vice versa which I think is unnesscary if you are sure that the client which gonna call this service would be in java.
So i think a statelessssessionbean would be faster that a webservice.
Also I'll get instance pooling with Beans.
+Pie Number of slices to send: Send
Nandkishor,

RMI would be a lot more efficient performance wise than either SOAP or REST web services.

Regards,
Reza
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 997 times.
Similar Threads
How to create Web service using JAX-WS in Jboss
Which is faster : C or Java
Connecting to a webservice from a webservice
Ideas - single client specific webservice client in a product which has 100s of clients
Java Client vs. .Net Webservice
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:43:45.