Download presentation
Presentation is loading. Please wait.
Published byOscar Butler Modified over 9 years ago
2
Fall 2008 http://www.cis.ksu.edu 1 CIS 764 Database Systems Engineering L15: Deployment Deploy … to place or arrange for deliberate (intended) purpose. e.g. to install middleware to the running server.
3
Fall 2008 http://www.cis.ksu.edu 2 CIS 764 Database Systems Engineering To deploy a web-app (middleware application = web+beans) means (i) to put the files in the correct server folders (ii) provide the config file to the server …so it knows how to: (a) how to map URL to folder, pages (b) map beans ref. to actual beans for localhost … files can be placed directly for remote server.. normally transferred as EAR = config + WAR + JAR +
4
Fall 2008 http://www.cis.ksu.edu 3 CIS 764 Database Systems Engineering Enterprise Application aRchive. EAR file: config file WAR file: manifest web components ( html, jsp, images, servlets, tag files) Model.jar file: manifest class ( ejbs, business components, etc.) META-INF: deployment descriptor … identifies the application and target. http://en.wikipedia.org/wiki/EAR_(file_format) http://en.wikipedia.org/wiki/EAR_(file_format http://www.theserverside.com/tt/articles/content/J2EE-Deployment/chapter.html
5
Fall 2008 http://www.cis.ksu.edu 4 CIS 764 Database Systems Engineering Can development work be done on the server host machine? Likely not. … test before release performance for testing, does not show correct delay for client-2-server for “real” world, false load on server security
6
Fall 2008 http://www.cis.ksu.edu 5 CIS 764 Database Systems Engineering Can development work be done on the server host machine? except for: initial setup and starting the server what is: 127.0.0.1 ?
7
Fall 2008 http://www.cis.ksu.edu 6 CIS 764 Database Systems Engineering Can “you” be set up as a server host? (e.g. your PC … your CIS lab account ) Issues … my internet service contact states no hosting default firewalls and routers block ports
8
Fall 2008 http://www.cis.ksu.edu 7 CIS 764 Database Systems Engineering Homework … follow the general “in essence” the deployment tutorial: http://www.oracle.com/technology/obe/obe1013jdev/deployment/deployment.htm but: Use your JSF-ADF homework as the sample application, connected to the course sample data base. (Do not install the sample application given in the tutorial.) It shows using EM on local machine; (see related slides) it shows Jdev on local machine, as deployment tool, but to stand alone OC4J. If ports are open, remote users should be able to access the app ! <<< Warning: several pitfalls herein. Local policies may prevent opening of required ports in CIS labs! *** We are working on this. Will work on personal machines.
9
Fall 2008 http://www.cis.ksu.edu 8 CIS 764 Database Systems Engineering http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
10
Fall 2008 http://www.cis.ksu.edu 9 CIS 764 Database Systems Engineering EM 8888 RMI 23791 …..
11
Fall 2008 http://www.cis.ksu.edu 10 CIS 764 Database Systems Engineering
12
Fall 2008 http://www.cis.ksu.edu 11 CIS 764 Database Systems Engineering
13
Fall 2008 http://www.cis.ksu.edu 12 CIS 764 Database Systems Engineering Submission: (i) As usual, post a few screen shots and words. Show your use of the Enterprise Manager with access to your application. Show running the client with connection to the remote URL (not “localhost”). (ii) If remote access works, set up a static page with the URL to your actual application; email a URL link to access your static page. (and have the application running when it is checked). Arrange time for instructor to check the application: T-Th 10:00-11:00 am (any remote sites) T,Th 4:00-5:00 (for CIS labs)
14
Fall 2008 http://www.cis.ksu.edu 13 CIS 764 Database Systems Engineering Clarification: J2EE, Oracle, others refer to the server as the “application server”. However, Oracle has a separate Application Server which contains: OC4J as the J2EE server web services processor “g” connection services DB local replication Enterprise Manager tool others.. http://en.wikipedia.org/wiki/OC4J#OC4J
15
Fall 2008 http://www.cis.ksu.edu 14 CIS 764 Database Systems Engineering Clarification2: Oracle Application Server: in 2008 Oracle bought BEA WebLogic Server as new 11g core product: “ongoing development … to integrate its best capabilities with Oracle WebLogic Server over time. “ http://www.oracle.com/appserver/index.html
16
Fall 2008 http://www.cis.ksu.edu 15 CIS 764 Database Systems Engineering Web servers … not same as application servers! http://news.netcraft.com/archives/2008/02/06/february_2008_web_server_survey.html
17
Fall 2008 http://www.cis.ksu.edu 16 CIS 764 Database Systems Engineering Web servers
18
Fall 2008 http://www.cis.ksu.edu 17 CIS 764 Database Systems Engineering Estimates of market share vary greatly. J2EE market share: was: 1,2 IBM, BEA … close 3 Oracle with purchase: Oracle becomes largest (but with split products to service) These ignore open source and non-J2EE; “market share” number installations vs $$, etc. http://www.dbta.com/e-edition/July08/12-column_harrison.html
19
Fall 2008 http://www.cis.ksu.edu 18 CIS 764 Database Systems Engineering other items in the Deploy folder OEM_Presentation … Breed deployment.htm
20
Fall 2008 http://www.cis.ksu.edu 19 CIS 764 Database Systems Engineering end.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.