Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Call Java web application from VB  RSS feed

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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
 
Sheriff
Posts: 23640
48
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
Author and ninkuma
Marshal
Posts: 66783
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!