• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Call Java web application from VB

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Can some please let me know how to call java web application from VB.

I have a web application developed in struts. How can I call one of the module of web application from VB?

thanks
vas reddy
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does it mean to "call" a web application? Do you mean you want to send a request to one of the app's URLs and receive the response from it?
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is where web services shine. Integration, integration.

If you expose business logic of the "web application" as one or more web services, then you can simply call the services by sending SOAP messages from the VB application.

Web applications that are built using Struts typically are GUI based applications that are used by a human that is using a web browser.

If you want communication from application-to-application, you may need to reengineer the business logic of the web application and expose it as one or more web services.

If you coded all the business logic in Struts Action classes, you did not use Struts correctly and will have more work to do implementing web services.
 
vas reddy
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My Java web application have one of the module(say modulex) responsible for submiting some data or update data to the DB. I set some session variable as soon as user logged into java web application. And modulex uses those variables.
Now I am not sure how to invoke that jsp (or modulex) from VB. ( Basically VB application also uses the same jsp (and behind their action classes) to write the data or update data to DB, same as like java web application)

thanks
vas reddy
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you pay any attention at all to James' post?

P.S. RESTful web services are rapidly replacing SOAP-based services and are much easier to implement.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic