Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

New To Java


Is the communication between a java applet and desktop application possible


Hello  I want to start a new project, but this requires some evaluation . My question to you is simple: - Is the communication between a java (web server) applet and a desktop application possible? - Is it possible to create a secure connection between the applet and the application?  Thank you, pat

try this How do you ensure secure communications from a Java applet? Kenneth and Thomas show how, using HTTPS tunneling for SSL security.  http://www.ddj.com/184410589

- Is the communication between a java (web server) applet and a desktop application possible? The applet runs on the client machine. What do you mean by "(web server)"? Where does the desktop application run? On the server or on the client machine? Is this application written by you? If not, what is it?  - Is it possible to create a secure connection between the applet and the application? This question seems to imply that they are not running on the same machine. If this is the case, why do you need secure?  Please clarify what exactly runs where.

With applet I mean a Java application which is running at a web server embedded in a website. The desktop application will run on a desktop workstation.  Both applications first need to be developed.  Why? Because the communication contains confidential data...

With applet I mean a Java application which is running  at a web server embedded in a website.  Java applets are executed in the browser after having been (down)loaded.

I see. So it is not possible to "host" an java application on a web server which runs on the server side?

pgr wrote: I see. So it is not possible to "host" an java application on a web server which runs on the server side? Yes, it is possible and it is called a servlet. Search for servlet/JSP, which is the equivalent of such technologies as ASP, PHP, CGI. Futhermore, any two pieces of Java code running on different machines can communicate securely using SSL. If you tell us more about what you want to achieve (not how), you may get better guidance.

Okay. That sounds great   The idea is to create something like a "Online Save" where you can store passwords or files with confidential content in a database from your personal web space.  The discussion above is a part of the evaluation for that project.  Now I have a different question. What is the requirement to run servlets on a web server (I prefer the apache httpd)?

The idea is to create something like a "Online Save" where you can store  passwords or files with confidential content in a database from your  personal web space.  That's a wank of a project and I personally wouldn't trust ANYONE to do the job properly, especially the NSA.  Point is, I don't think it'll attract (m)any customers.

pgr wrote: Okay. That sounds great   The idea is to create something like a "Online Save" where you can store passwords or files with confidential content in a database from your personal web space.   I think Microsoft used to call this "Passport".  The discussion above is a part of the evaluation for that project.  Now I have a different question. What is the requirement to run servlets on a web server (I prefer the apache httpd)?  Ha ha ha ha.  You have no business attempting this problem.  You don't know enough.  If you have to ask, you shouldn't be attempting it.  %

@duffymo: Thank you for your productive input....  I don't want to store my files at a companies hosted space. It should be independent (that's nearly by the clue of it).  If you are not satisfied with my course of action, then say that by recommending "basic" know-how I should gather before... I am posting on "New to Java", because I don't know anything about Java and its technologies.   A user with so much posts should be able to contribute with a better forum message. For example by posting a link like: http://www.ceylonlinux.com/pdf/apache_java_tomcat_mod_jk.pdf  Now I know, what required is   Thank you.

pgr wrote: @duffymo: Thank you for your productive input....  Actually it's very productive.  Sometimes we all need to be told when our fly is down.    I don't want to store my files at a companies hosted space. It should be independent (that's nearly by the clue of it).  If you are not satisfied with my course of action, then say that by recommending "basic" know-how I should gather before... I am posting on "New to Java", because I don't know anything about Java and its technologies.    Exactly.  That's clear.  My point is that you shouldn't be learning on a such a sensitive problem.  A user with so much posts should be able to contribute with a better forum message. For example by posting a link like: http://www.ceylonlinux.com/pdf/apache_java_tomcat_mod_jk.pdf  I contribute a great deal that's productive.  You haven't read all my posts.  You're the one who has some learning to do.  Start with servlets.  %


Related Links

Go to a new line in JEditorPane?
can any one suggest me the best online tutorial for servlets to download
weird
thread event handling with applet
Statements are legal?
Simple Multiplication
How to Run a Compiled Component
how to hide file
Exception Handling question
Internet lock - closing ports
wants to understand more bout logging api
How to make end of line .............
Question regarding "instantiation" - can someone plz explain
jtextarea
Question on Queues?
error in typecasting