how to deploy bean in weblogic server

Discussions

EJB design: how to deploy bean in weblogic server

  1. how to deploy bean in weblogic server (4 messages)

    hi guys,
    how to deploy a bean in weblogic server .Please send ur reply to rajachandar_s at hotmail dot com
  2. how to deploy bean in weblogic server[ Go to top ]

    first u generate the container class and after that go to weblogic properties of weblogic server and give the path of ur jar file name in the deployment segment.
              1.after that run the weblogic server,when u run the weblogic server u will find ur jar file and also the jndi name as deployed.
               (or)
    u can select from the deployer tool tools->deployto->myserver.
         after thet u can see the message at the server side that ur bean with jndiname is deployed

    kiranlal
  3. how to deploy bean in weblogic server[ Go to top ]

    Hi,
       thanks for your information
  4. how to deploy bean in weblogic server[ Go to top ]



    1: Compile the bean and interface(s) Java files and copy those class files into the proper directory as mentioned in the Package name.
    2: Create one folder named “ META-INF “ and keep these XML files (ejb-jar.xml and weblogic-ejb-jar.xml)
    3: Make proper changes in those xml files and mention the proper JNDI name.
    4: Make a Jar file of all these files.
          jar cv0f XXX.jar <Package Name e.g. com> META-INF
    5.In the command prompt run SETENV which is in weblogic home
    6.Then enter the following command
          
    Java weblogic.ejbc XXX.jar <Pathname\jar name e.g.
    d:\benchmarking\YYY.jar>

    7: Modify the weblogic properties file with new jar file appended.

    8: Open that new YYY.jar file and extract the class files to Weblogic\Classes directory.

    9: Restart the Weblogic server


  5. how to deploy bean in weblogic server[ Go to top ]

    Read the documentation for your server version (either on the bea site or you can download it). It is very detailed and gets you started pretty quick. It may take some time to read thru the really important bits but I think it is worth it.