what is menifest

Discussions

EJB design: what is menifest

  1. what is menifest (3 messages)

    hi...
    this is regarding EJB.
    i was trying out a code in the process of learning some EJB, a .jar file needs to be prepared before deployment....right!
    what is this 'Manisfest' doing? i don't understand this. Does a manifest have some specific format with text in it somthing like this
    <package name>
    class1.class
    class2.class
    and so no...
    META-INF
    ejb-jar.xml

    Threaded Messages (3)

  2. what is menifest[ Go to top ]

    hi

    imo, manifest files are not that important. ant creates those files if you build the jar files with ant.

    nevertheless, if you work with jboss as app server and need another libary you should reference this libary in the manifest file.

    for example:

    Manifest-Version: 1.0
    Created-By: Apache Ant 1.5.1
    Class-Path: lib/kernel.jar

    christian
  3. what is menifest[ Go to top ]

    http://developer.java.sun.com/developer/Books/javaprogramming/JAR/basics/manifest.html

    As the article describes Manifest files can be used for many purposes one of which is as Christen describes the Extension Mechanism

    http://java.sun.com/docs/books/tutorial/ext/index.html

    None of this is JBOSS specific.

    David
  4. what is manifest[ Go to top ]

    Shaili,

      the concept of manifests has been around since the birth of Java. It was intended for informational purposes and later became used for system purposes, like jar files locking, putting execution information (Main-Class entry) or just ensuring that the contents of the jar file haven't been modified by any third party.

    You've got a valuable link (see above). Spend some time reading it.

    --
    Sincerely,
    Max Kraynov