What is JAR file?

Answers were Sorted based on User's Feedback



What is JAR file?..

Answer / ranganathkini

JAR files or Java ARchives are compressed archive files that
contain a compiled class files of a java application or
class library. JARs provide a easy way of packaging and
distributing Java applications and applets as well as
providing security to the code.

Is This Answer Correct ?    12 Yes 1 No

What is JAR file?..

Answer / john

Every JAR will have a MANIFEST file which will have an entry
of all the classes contained in the JAR. IF the JAR is
created manually this file also has to be created and addedd
to the JAR file.
But since we now use tools to create JAR files this file is
created by the tool automatically.

Is This Answer Correct ?    5 Yes 1 No

What is JAR file?..

Answer / janet

Jar file allows to efficiently deploying a set of classes
and their associated resources. The elements in a jar file
are compressed , which makes downloading a Jar file much
faster than seperately downloading several uncompressed files.
The Package java.util.zip contains classes that read and
write jar files.

Is This Answer Correct ?    4 Yes 1 No

What is JAR file?..

Answer / thla thlapathi

i dont no answer but simply i tell u all jar files are not
converted file then if all them contain folder also not
converted...........

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More EJB Interview Questions

What is an ejb container?

0 Answers  


TX operation funtion executed by?

0 Answers   Satyam,


In my project iam integrating telephone line using some bridge. To connect my project to that telephone line they have give some jar file. Using dat i connected with that.. To handle that event like call attented, call disposed and idle time they have give one event listener class.. I did every thing and this class is alsoo called when a particular event is fired. The only thing is i wanna call EJB from that event listener method.. But the EJB is not getting initated and exception is thrown. This below shownn error is occured only i try to call it from this event listener class. In other places EJB calling is working fine.. javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init> (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:657) at javax.naming.InitialContext.getDefaultInitCtx (InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init> (InitialContext.java:197) at com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia lContext(ServiceLocator.java:82) at com.kgisl.etrac.commonUtils.EventListener.getAdministrationE JBRemote(EventListener.java:206) at com.kgisl.etrac.commonUtils.EventListener.CallDispositioned (EventListener.java:65) Caused by: java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at com.sun.naming.internal.VersionHelper12.loadClass (VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext (NamingManager.java:654) ... 6 more It would be more help full if i get the solution 10x in advance balaji

1 Answers  


What causes statelessness?

0 Answers  


What is entity beans in ejb with example?

0 Answers  






Explain the concept of connection pooling feature of ejb container?

0 Answers  


What is the procedure for the presentation of ejb persistence mechanism?

0 Answers  


What are the limitations of using local object?

0 Answers  


How does EJB 2.0 improve support for interoperability between EJB containers and other J2EE products?

1 Answers  


What is bean in ejb?

0 Answers  


What is ejb and how it works?

0 Answers  


What is mdb?

0 Answers  


Categories