• 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

Passing Data From One Application to Another Application

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI Guyz........


Am new to JSP , I had a interview last week in which i have been asked this question

"HOW TO PASS ONE VALUE TO ONE APPLICATION TO ANOTHER APPLICATION"
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rick,
Please note:
Typing in all caps is the equivalent to yelling in a web forum and is considered rude.

If you find that you're not getting answers to your questions, you might want to view our list of tips for asking them here.
http://faq.javaranch.com/view?HowToAskQuestionsOnJavaRanch
 
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well J2EE does not provide any way by which you can pass parameter from one application to another application. Maximum you can set attributes in application scope still in that case you can't get that object in another application.

But weblogic server does provide a way of doing it.

Naseem
 
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
There are any number of ways:

1) Make a request from one app to the other passing the value as a request parameter.
2) Use the DB as a common data share
3) Use the file system as a common data share
4) Use RMI, JMS or another of the Java alphabet soup technologies
5) other...
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Naseem Khan:
Maximum you can set attributes in application scope still in that case you can't get that object in another application.



yes you are right.

we have three major scope in Servlet and JSP. Application Scope is the highest scope,The application object is accessible from any JSP page instance running as part of any instance of the application within a single JVM. (The programmer should be aware of the server architecture regarding use of JVMs.)

is this possible by java.net.HttpURLConnection ?

Scope Object
[ August 08, 2006: Message edited by: saif uddin ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic