Re: Web Services or Servlet?



Thanks all for your replies.

They want it to be Java anyway.

I will give Axis a try and then decide between Servlet or Web
Services/Axis.
WebServices (like everything else in J2EE) is too complicate for what
is does (maybe because I am coming from Corba background) but I use
Jbuilder and it does pretty much everything for you.



Mike Schilling wrote:
"Homer" <homi_us@xxxxxxxxxxx> wrote in message
news:1151594059.732731.290770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

I have following scenarios:

An application running on some server (inside our Intranet) is sending
our server a request including 5 fields of data (volume is ~1000 per
day) and our server is suppose to do some calculation and return back a
two field data.

This sounds like a good example of Web Service/SOAP scenario but I
don't really want to complicate things with Application Server,
Deploy and etc.

You don't need a full J2EE application server to run a web service. A
servlet running inside a servlet container (e.g. Tomcat) can implement a web
service, and there are a number of tools for building such a thing, e.g.
Axis.

.



Relevant Pages

  • Deploying java web services on TOMCAT
    ... I have build a web service using the tutorial given on sun's site ... deployed on J2EE application server and every thing is working fine. ... and AXIS. ...
    (comp.lang.java.programmer)
  • Re: ServletOutputStream to Browser OK in NS, but not IE??
    ... >> I am replacing a Netscape Application Server appLogic with a servlet. ... >> the current browser session), but always pops up the file download box ... > client accepts and processes the messages via his user agent. ...
    (comp.lang.java.programmer)
  • Re: Ueberschreiben einer "verwendeten" Methode
    ... public abstract class TimeOutServlet extends HttpServlet { ... Server nacheinander abgefragt werden sollten. ... würde im Servlet nur den Queue anstossen, sofort eine Response zurückgeben und den Status/das Ergebnis per Polling im Browser anzeigen. ... Es könnte ja durchaus sein dass ein Browser ein Timeout auf <30 Sekunden gesetzt hat und die Abfrage von hunderten von Servern kann ja je nach Latenz der Server vermutlich auch länger dauern. ...
    (de.comp.lang.java)
  • Re: Web Services or Servlet?
    ... XFire or Axis 2. ... You don't need to use full J2EE server, ... This sounds like a good example of Web Service/SOAP scenario but I ...
    (comp.lang.java.programmer)
  • Re: [OT] Which technology might I use for this web application?
    ... Can I write the server code in Java? ... output-rich purposes, Java Server Pages (JSP) is a useful technology that runs on top of servlets. ... Apache Tomcat is a popular, capable servlet container; some other containers include IBM Websphere and Bea WebLogic, and there are others. ... Some tag libraries include JSP custom tags for performing DB accesses, or you can do it directly in your own Java code. ...
    (comp.lang.java.programmer)