File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Web Services Application Examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services Application Examples" Watch "Web Services Application Examples" New topic
Author

Web Services Application Examples

Sandy Weng
Greenhorn

Joined: May 17, 2004
Posts: 2
Hi,

I'm a newbie to java web services. In my company, we only use the simplest java servlet and jsp to generate web pages, web input form and access the database directly. I feel it essential to learn new technology. I'm now reading Richard MH's J2EE Web Services. When i am reading it, i always ask myself: how can i apply this to my working environment? But seems that it's just not quite applicable because all my users are using web browser as client and send data via http. We don't have any client software at all. All are server programs.

So, i'm quite curious about the 'outer world'. How do you use j2ee web services? What do you use it for? How much do you feel the j2ee web services help you to build your business application?
Michael Riecken
Greenhorn

Joined: May 17, 2004
Posts: 1
Sandy -

We have a similar situation where we process (re)purchased loans through a web site. [All of this is currently in development] Client banks log onto our site and submit the information - this is done with a purchased .net application - which runs the public web interface.

The .net application talks , via SOAP, to a Tomcat/Axis/JOnAS application to ask it things like "Does the purchase of this loan make sense?" and "What information is the client bank required to enter for us to approve this loan purchase?" - boring stuff.

JOnAS has some beans deployed that actually wrap an ILOG rules engine, that the loan officer types maintain, that run this whole thing.

So - like you - our "client" is a web browser somewhere (The First Bank of Bob, for example). The browser is talking to some .net application, which is talking, via SOAP, to "My" application - which is J2EE/Web Services.

Cool?

+Michael Riecken
Sandy Weng
Greenhorn

Joined: May 17, 2004
Posts: 2
So your application is 3-tiers: web browser, .net application and j2ee web services, right? Your .net application will provide the web interface and then use something like JAX-RPC to send SOAP to your web serivces, right? And the .net application's role is to 'translate' the request to SOAP, right?

I have no experience in .net application at all. What does it do and what's the advantages of it?

Sorry for my stupid questions....

Actually, overall speaking, do you find it helpful to use j2ee web services?
[ May 18, 2004: Message edited by: Sandy Weng ]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
So your application is 3-tiers: web browser, .net application and j2ee web services, right?
I'd say it's probably more like two 2-tier or 3-tier applications talking to each other.

Your .net application will provide the web interface and then use something like JAX-RPC to send SOAP to your web serivces, right?
Probably yes, except that the JAX-RPC is a Java API and thus cannot be used from .NET.

I have no experience in .net application at all. What does it do and what's the advantages of it?
.NET is Microsoft's latest application development and deployment environment. For more information, I'd suggest turning to the Microsoft Developer Network and other .NET communities like GotDotNet.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services Application Examples