• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web Frontend to CORBA App

 
Saurabh Jang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to investigate the best way to provide a web frontend to an existing application that uses CORBA to communicate between a client GUI (written in Java) and a server app (written in C++).
One issue is that currently the client subscribes to various events via the CORBA notification service to keep its GUI state up-to-date without having to poll the server side. I want a reasonable solution (from elegance and maintainability point of view) to achieve the same behavior in the web GUI w/o requiring a manual "refresh button" in the GUI.
One thought I had was to provide a servlet that intermediates access to the CORBA server app. For keeping the GUI up-to-date, I thought that I can make the use of JavaScript and a Java applet. The Java applet won't actually paint any part of the screen, but would simply receive events from the CORBA notification service. It would then talk to a JavaScript function which would update the current page via the DOM API.
The context in which this application will run is a intranet, so there is some control over security issues such as firewalls etc. so having access to a CORBA ORB on the client side should not be an issue.
Also not so sure if the CORBA notification service will be allowed to callback to the Java applet, since that will involve the applet accepting incoming TCP connections, but I assume there are vendor specific ways of doing this with an appropriate ORB and using signed applets.
If there is a simpler way to this I am all ears. I am a experiencec C++, Java and CORBA programmer, but not super familiar with HTML, JavaScript and JSP.
 
Saurabh Jang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!