• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

two j2ee application called from web app

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, my boss asked me to solve a problem. I have two j2ee application on the same server, I have to generate a web application that would be like a "view container" to the other two applications. This web application would manage the loggin security to the other to applications and would have a menu where a user could chose to display one application or another. I know that I could use portlet, but I'm wondering if I could use an iframe with url pointing to one of the application at the time or the other. What I'm asking is not if this could be done or not... I think it could work with iframe, but is this something like a j2ee antipattern???
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
To solve your issue you can use web services for this.
 
gianluca gian
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, thank you for answer. Web service? do you mean I could use a web service to get an xml to be parsed on client browser? are you saying that because iframe is not a good way of doing it?
 
abani patra
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I think iframe is also good but by using web service that will be more clear and manageable.
 
gianluca gian
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but do you all agreed that with web service there would be more work to do? with web service I would have to make a request to the server, the server would have to generate xml response and then on the client I would have to parse the response on the browser? If I use iframe I would have justa little work, don't you agree?
 
gianluca gian
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I may use mashups technology... I will read something about it. Ciao
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic