Академический Документы
Профессиональный Документы
Культура Документы
Agenda
19:00 : Opening OGh session
19:45 - 20:00:
• J2EE Concepts
J2EE concepts
J2EE Concepts
• Distributed systems divide the work
among several independent modules.
• The failure of a single module has less
impact on the overall system, which makes
the system more:
o Available
o Scalable
• Maintainable
J2EE Concepts
• Applications deployed with Java EE
technologies are:
o Standardized
o Adherent to specification guidelines
o Written in Java
o Deployable in any compliant application server
J2EE Concepts
J2EE Resources
• Java Servlets
• Java Server Pages (JSP)
• Enterprise JavaBeans (EJB)
• Java Database Connectivity (JDBC)
• Java Naming and Directory Interface (JNDI)
• Java Transaction API (JTA)
• Java Message Service (JMS)
J2EE Resources
• Java Authentication and Authorization
(JAAS)
• Java Management Extensions (JMX)
• Java EE Connector Architecture (JCA)
WebLogic Domain concepts
17
WebLogic Domain concepts
• Could include optional Oracle WebLogic
Server instances in a domain called
managed servers
• Could also include clusters of server
instances that work together
18
WebLogic Domain concepts
WebLogic domain Node Manager
Cluster1
…
Admin
server - JDBC
Managed Managed - JMS
server server
Managed - JTA
server - Adapters
Cluster2 Libraries
…
-
Managed Managed Managed
- Apps
server - Security
server server
config.xml
File repository
19
WebLogic Domain concepts
How to create a domain?
• Domain config utility
• <WebLogic Server Home>\common\bin\config.cmd(sh)
• console mode using ‘–mode=‘ argument (default is GUI)
20
Domain Directory
Domain name
Pending configuration
changes
22
WebLogic Server instances
• Simple overview
JNDI
JMS Queue
23
Administration Server instance
Some facts
• Central configuration controller for the
entire domain
• Hosts the Administration Console
• To start and stop servers from a central
location
• Migrate servers and services within the
domain
• Enables you to deploy applications within
the domain
• Only one* Administration Server in domain
24
Administration Server instance
• Accessing the console
• http://hostname:7001/console
• https://hostname:7002/console SSL
• https://hostname:9002/console
Administration Port enabled
25
Managed Server Instance
• Server instances other than the
AdminServer are referred to as Managed
Servers.
• Managed Servers host the components and
associated resources for applications
• Each Managed Server is independent of all
other Managed Servers in the domain
• Number can be unlimited
26
Managed Server Instance
• Individual Managed Servers are typically
added for capacity and application isolation
• Two or more Managed Servers can be
configured as a WebLogic Server cluster to
increase application scalability and
availability
27
WebLogic Server Cluster
• A cluster is a group of logical entities and
other resources that act like a single system
and enable high availability and, in some
cases, load balancing and parallel
processing
• Two or more Managed Servers can be
configured as a WebLogic Server cluster to
increase application scalability and
availability
28
WebLogic Server Cluster
• A cluster is a group of logical entities and
other resources that act like a single system
and enable high availability and, in some
cases, load balancing and parallel
processing
• Two or more Managed Servers can be
configured as a WebLogic Server cluster to
increase application scalability and
availability
29
WebLogic Server Cluster
• Basic Tier Cluster
Domain
server 1
Web EJB
container container
Load
balancer server 2
Web EJB
container container
Cluster
30
Architecture Considerations
Use the architecture for your needs
App1 App2
AdminSer
ver MS1 MS2
Application isolation
31
Architecture Considerations
Domain 1
App1 App2
AdminSer
ver MS1 MS2
Domain 2
App3 App4
AdminSer
ver MS1 MS2
Domain Cluster 1
App1 App1
AdminSer
ver MS1 MS2
App2 App2
MS3 MS4
Cluster 2
Clustered Applications
33
The Node manager
• Java-based and Script-based
• To control server instances in any WebLogic
Server domain, as long as the server
instance IS on the same server as the Node
Manager process.
• Not attached to a specific Domain but
machine(A definition that identifies a particular,
physical piece of hardware.)
The Node manager
• Optional, but required for manipulating
servers in the AdminConsole
• Node Manager must run on each computer
that hosts instances
• Use for crash recovery, remote stop and
start
The Node manager
• Optional, but required for manipulating
servers in the AdminConsole
• Node Manager must run on each computer
that hosts instances
• Use for crash recovery, remote stop and
start
The JAVA Virtual Machine
• Oracle recommends:
o Sun for Development Mode
o JRockit for Production Mode
The JAVA Virtual Machine
• JVM Providers (Sun, Bea/Oracle (JRockit)
• Runtime behaviour:
o JVM runs as an OS process
o Execute work through threading
model (concurrency)
o Garbage Collector
• Each Weblogic Server (instance) runs
inside a separate JVM (instance). Same
for the Node Manager process
WebLogic J2EE resources
WLS JNDI
Connection
creates creates
Message Message
Session
Producer Consumer
receives
sends to creates
from
2.Navigation tree
3.Help Center
4.System Status
5.Work area
6.Breadcrumbs
7.Preferences
WebLogic Consoles
WebCenter
Portal
Hyperion
BI EE
Discoverer EM
UCM
JDeveloper
BPM SOA Suite
OER
ODI Forms OSB
IdM
Coherence
FMW Components
WebLogic Server 11g
Forms Portal BI EE
For example: the SOA Suite 11g
• SOA Suite is the engine that runs applications that
implement the WebServices
o Inside the WebLogic Server application server
• SOA is installed on WLS, SOA applications are
deployed on SOA Suite
WebLogic Server 11g WebServices
SOA Infra
SOA Suite 11g & WebLogic
JDBC Data Database
SOA App 1 SOA App 2
Sources Adapter
Business
BPEL BPMN OSB JMS
JMS Rule
Human Spring Adapter
Mediator
Task Java/EJB
File
XA/JTA Event Delivery Network System
SOA Suite 11g Adapter
Email Server
michel.schildmeijer@amis.nl
Or….
• http://nl.linkedin.com/in/mschldmr
• AMIS Blog:http://technology.amis.nl/blog/
• mnemonic01
Or….
My Book, coming out in August 2011
• https
://www.packtpub.com/oracle-weblogic-server-
11gr2-administration-essentials/book
Or….
My Book, coming out in August 2011
• https
://www.packtpub.com/oracle-weblogic-server-
11gr2-administration-essentials/book