Friday, November 9, 2012

How many ways to deploy a java application in weblogic server

Hi Guys 


To day post very usefull to the Admins

Deploying the application to Weblogic Application  Server


Things good to know before deploying application on Oracle WLS  

i) User with Admin or Deployer role can deploy application
ii) Weblogic supports following type of deployment unit
a) EAR file (Enterprise Archive) -----> java -cvf myapp.ear myappp( this is the commad to create a EAR file)
b) WAR file (Web Archive) ----->java -cvf myapp.war myappp( this is the commad to create a WAR file)
c) JAR files, EJB (Enterprise Java Beans)
d) RAR (Resource Adapter/Connector )
e) Web Services (WAR/JAR)
f) J2EE Library
g) CAR (Client Application Archive)

–  Web Archive configuration file is usually …../WEB-INF/web.xml
–  Enterprise Application (EAR) configuration file is usually …/META-INF/application.xml

iii) Application name can contain only following character (a-z, A-Z, 0-9, underscore, hyphen, . period/dot)
iv) Application name with only period/dot (like . or .. or …) is not valid name, it should contain at least one other character.
v) Application Name should be 215 character or less


Tools used to deploy/configure applications
1) weblogic.Deployer – command line interface
2) Administration Console – Web based interface
3) WLST(WebLogic Scripting Tool) – command line tool to automate deployment configuration and operation
4) Tool for developers (wldeploy, weblogic.PlanGenerator, API, autodeploy)

5)ANT, MAVEN....

These are the Ways to Deploy an Application toweblogic server....k

In Next post How to Deploy using Admin console and using weblogic utilities....

K Njoy 

GUYS








No comments:

Post a Comment