• Post Reply Bookmark Topic Watch Topic
  • New Topic

example scenarios  RSS feed

 
sridhar satuloori
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can some one give an example where WebServices fits.
Sridhar
 
Andy Rodriguez
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sridhar satuloori:
can some one give an example where WebServices fits.
Sridhar

Refer to http://www.javaranch.com/ubb/Forum51/HTML/000040.html
And the USPS demo on capeclear site , url on another thread .

------------------
My ramblings @
http://javarecon.tripod.com
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For months now I've been meaning to write an article on a simple scenario for Web Services that we've encountered several times. In fact it's so simple that it's often overlooked.
Many of our WebSphere customers want to use Applets to gain the rich GUI of Swing. However, if you want to implement you business logic as EJB's you have a problem -- RMI/IIOP doesn't work well over the internet (firewall problems) and besides, Applets aren't an "officially J2EE supported" EJB client.
So, what we've done is to create custom protocols using Serialization and/or XML to communicate between the applet and a servlet over HTTP and then have the servlets call the EJB's. We keep having to reinvent the wheel each time.
With Web Services (or at least just Apache SOAP and WSDL) we have a pre-built infrastructure that handles all of the interface definition, object serialization, and method-call overhead for us. Of course, we don't need UDDI, but 2 out of 3 ain't bad.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!