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 Basic questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Basic questions" Watch "Basic questions" New topic
Author

Basic questions

Andrew Parker
Ranch Hand

Joined: Nov 12, 2001
Posts: 178
Hi,
I want to know:
1) What is servlet and where will it be used? Is it related to EJB, JSP or Applet?
2) In JRE, the class loader adds security by separating the namespaces for the classes of the local file system from those imported from network sources. This limits any Trojan horse applications as local classes are always loaded first. (a) What is Trojan horse applications? (b) Why local classes are loaded first which will increase the code security?
3) I saw the document that hotspot client is included in 1.3 version, does the compiler use hotspot to compile the java code if I run the jdk1.3? Is hotspot a JIT virtual machine which is faster than the traditional JVM?
Thanks for any kind help.
Andrew

Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
1) What is servlet and where will it be used? Is it related to EJB, JSP or Applet?

Servlets are the analog on the server side to applets on the client side. A JSP is a servlet turned inside out.

2) This limits any Trojan horse applications as local classes are always loaded first. (a) What is Trojan horse applications?

A Trojan horse is like a virus time-bomb.

(b) Why local classes are loaded first which will increase the code security?

Yes, local classes are loaded before network classes. This increases the code security.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Basic questions