Chapter 15: Deploying EARs, WARs, JARs, and JSPs

Overview

If you have done Java development work, you know that except in the simplest of applications, the number of files that make up your application can grow very quickly. While this assists in the modularization of large-scale programming projects, it can present significant challenges to developers and administrators when it comes time to deploy those applications. Luckily, Oracle Application Server 10 g supports numerous ways of deploying applications that give developers and administrators enormous flexibility. Also, by being fully compliant with the Java 2 Enterprise Edition (J2EE) specification, the methods and directory structures required for deployment are well documented and familiar to most Java developers.

Deployment is the process of taking an application and its associated files (which can be .java files, .class files, .jsp files, etc.), moving them to an application server (like Oracle Application Server 10 g ), and making the application available for end users to access. As we will see in this chapter, there are three basic ways of deploying applications for use with Oracle Application Server 10 g :

  • Via the command line We can manually copy files in the appropriate directories and modify the necessary OC4J configuration files.

  • Via the Oracle Enterprise Manager Application Server Control Web Site Applications can be deployed via the Enterprise Application Server Control web pages provided for each OC4J container on your system. This option provides you with both great flexibility, as most deployment options can be specified on these pages, and ease of deployment, as most tasks can be handled via a graphical interface.

  • Via Oracle JDeveloper 10 g This method is the most flexible way of deploying applications to Oracle Application Server 10 g. Its greatest limitation is that it requires, naturally, that you have developed your application in Oracle JDeveloper 10 g.

This chapter will discuss the packaging of applications and then explore each of the deployment methods listed. As with most tasks associated with the development and deployment of web-based applications, there is no one right way to do it. Developers and administrators will need to evaluate the different options available to them and make decisions based on what is most appropriate for their development group , company, or organization.



Oracle Application Server 10g Web Development
Oracle Application Server 10g Web Development (Oracle Press)
ISBN: 0072255110
EAN: 2147483647
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net