Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0

    Default Transfering data between core Java and Jsp

    We have a core java application running and it need to transfer a data ( very small caller ID info) to a JSP page which runs on tomcat application server.
    We have multiple user logs in to this application.

    We are using database inbetween to pass the data , do i have to use Webservices to get the transfer happen online without DB inbetween.

    Please advice

    Thanks
    Imthiyaz

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,008
    Rep Power
    20

    Default

    So you have an application in one place doing stuff, and a web application?

    If the "core" application is not a web app, then it can only really supply data to the server when asked for it. This would possibly be via a web service, But not knowing your architecture (or not being enitrely clear what it is you're asking for) I'd hesitate to recommend anything.

  3. #3
    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0

    Default

    Yes my core java application connectes to a telco server and fetches the call information and it needs to transfer caller info to my web application when the information is available to my core java app.

    telcoserver---->Javapp------>Tomcat------Jsp

    is it possible my java app can pass the date to tomcat by means of url posting or webservices.

    Thank you
    Imthiyaz

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,008
    Rep Power
    20

    Default

    Either, but I'd make it a call to a Servlet if you go the URL route since you're not displaying anything.
    At least it doesn't sound like yor core app is expecting anything beyond an acknowledgment of receipt.

    If it's as simple as you say (just an id that needs to be registered somewhere) then the URL is probably easiest (a RESTful web service, rather than a full-fledged SOAP service).

Similar Threads

  1. Transfering all items from one List to another
    By Bulelakes in forum New To Java
    Replies: 6
    Last Post: 08-23-2010, 08:48 AM
  2. Transfering Focus
    By kevh in forum AWT / Swing
    Replies: 0
    Last Post: 07-30-2010, 06:12 PM
  3. Transfering files over HTTP
    By DannyZB in forum Networking
    Replies: 16
    Last Post: 11-09-2008, 09:50 PM
  4. Core Java Vs. J2EE
    By evanp in forum New To Java
    Replies: 2
    Last Post: 07-23-2008, 01:27 PM
  5. A core java Question
    By chravikumar008 in forum New To Java
    Replies: 2
    Last Post: 04-21-2008, 08:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •