aspose file tools*
The moose likes Web Services and the fly likes Really I need  web service in my web application or not ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Really I need  web service in my web application or not ?" Watch "Really I need  web service in my web application or not ?" New topic
Author

Really I need web service in my web application or not ?

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Hi all,

In my web application user ask for xml file which ll be created when user hits a predefined URL with authenticate user ID and Key , This XML file is created using DB entries , where XML elements as column name and CDATA as row entries ! Now can this process separated from my web app and converted into web service , where a predefined URL is processed and an XML file is returned , IF yes , then pl suggest some approach and links . And which web service I should use , like JAX-WS, Axis1 or 2 , which one is efficient and fast ?

I`m new to webservice, pl help !
[ August 19, 2008: Message edited by: Sagar Rohankar ]

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12805
    
    5
where a predefined URL is processed and an XML file is returned


That sounds like a REST style service, no need to mess with SOAP complexity. This could be handled with custom servlet code or you might look into the JERSEY open source project toolkit.

Here is my recent article on Jersey.

Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Really I need web service in my web application or not ?