File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes how does Java code run in client browser's JRE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how does Java code run in client browser Watch "how does Java code run in client browser New topic
Author

how does Java code run in client browser's JRE?

anagha patankar
Ranch Hand

Joined: Dec 26, 2005
Posts: 53
Hello ranchers,
Dont quite know which forum this question fits into.....

Recently have been moved into a team that is developing rich client applications.

My questions are ::

1 >Browser is supposed to execute some java code on client side

so how does the client browser receive the java class files from server ?

I am only aware of the html that is simply rendered in case of typical j2ee applications

In such a case is it necessary to have signed jars ?

Thanks,
anagha
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3506
    
  14
Originally posted by anagha patankar:
so how does the client browser receive the java class files from server ?


There will be a tag in your HTML that tells it which jar file to download. It's a while since I worked with applets so I'm not absolutely sure of it's anme and format.

Originally posted by anagha patankar:
In such a case is it necessary to have signed jars ?


Depends what you want the applet to do. If you need to access the local computer's file system then it will need to be signed.

Doesn't your new team have a leader who can explain all this to you ?


Joanne
 
jQuery in Action, 2nd edition
 
subject: how does Java code run in client browser's JRE?