Académique Documents
Professionnel Documents
Culture Documents
3 Tiers
A 3-tier architecture is an application architecture that splits the user interface (presentation layer) from the application logic. An "application server" handles the application logic and interacts with the database. This architecture scales better and is less complex. Also, new user interfaces can be added easily without changing the application or database tiers.
Middleware is a term used to describe computer software that connects software components or applications, Middleware includes Web servers, application servers, content management systems, and similar tools that support application development and delivery
Servlet A servlet is a Java program that executes on the server, accepting client requests and generating dynamic responses
JVM A Java virtual machine is software that is implemented on virtual and non-virtual hardware and on standardoperating systems. A JVM provides an environment in which Java bytecode can be executed JDK The Java Development Kit (JDK) is an Oracle Corporation product aimed at Java developers. Since the introduction of Java, it has been by far the most widely used Java Software Development Kit (SDK).
JSP JavaServer Pages (JSPs) are HTML documents that are embedded with special tags to insert Java code, thereby providing dynamic content. When the user makes a request on a JSP, the server executes the Java code and generates an HTML document Jar Java Archive : a java class archive files. War Web Archive : Web modules which contains Servlet class files,JSP Files,supporting files, GIF and HTML files are packaged as JAR file with .war( web achive) extension Ear Enterprise Archive : All above files(.jar and .war) are packaged as JAR file with .ear ( enterprise archive) extension and deployed into Application Server or Weblogic EJBs make it possible for relatively new programmers to develop useful parts of highly complex, transaction-aware, and scalable enterprise applications, it relays on Weblogic , etc The JDBC specification defines an interface for Java programs to use and an interface for which database vendors can develop custom drivers, two types of JDBC drivers: Thick JDBC drivers built on top of the C-based Oracle Net client Thin (pure Java) JDBC driver to support downloadable applets
Client app
Client app
SvrW
SvrX SvrY SvrZ
WLS plugIn
SvrC
SvrD SvrE
Client app
Client app
SvrW
SvrX SvrY SvrZ
SvrC
SvrD SvrE
JNDI (pronounced jenn-dee) is an API and a standard that Java programs use to access existing naming or directory services. It is not a naming or directory service. It is merely the mapping. Different naming and directory services store objects in different ways.
Application code
Written by developer
JNDI API
Naming manager
JNDI API
JNDI SPI
WLS driver LDAP driver File sys driver DNS driver Other
Purchased or obtained
WLS server
LDAP server
File system
DNS system
Other
Service
Enterprise messaging is now recognized as an essential tool for building enterprise applications. By combining Java technology with enterprise messaging, the JMS API provides a tool for writing enterprise applications that communicate with each other asynchronously. Producer Producer
Consumer
Consumer
Consumer
Directory service
RDBMS
Client application
CORBA
Java app Message queue
JAXWS
RMI
Web service
Java EE Standard Java Platform Enterprise Edition 5 (Java EE, formerly known as J2EE), developed by Sun Microsystems, is a superset of the Java Platform Standard Edition (SE) 6 Java Development Kit (JDK).
Installation
DOMAIN: OVERVIEW
Is the basic administration unit for Oracle WebLogic Server Always includes one Oracle WebLogic Server instance configured as an administration server May include optional Oracle WebLogic Server instances in a domain called managed servers May also include clusters of server instances that work together
WebLogic domain
Admin server Managed server
Cluster1
Managed server
Managed server
Cluster2
WebLogic Server system administration tools
NM
Managed server
Managed server
Managed server
Directory Structure
To start WLS using command Line go to :
C:\Oracle\Middleware\user_projects\domains\ClassicDomain
C:\Oracle\Middleware\user_projects\domains\ClassicDomain\bin
To start OPMNCTL :
C:\Oracle\Middleware\asinst_1\bin
Web Server : Oracle HTTP Server ( OHS) On Port 80 http://localhost or ip]:8888/ WebLogic Console : On Port 7001 Form Service : On Port 9001 Report Service : On Port 9002 To access form we use 8888 To access report we use 8888