Unit 1 - Introduction To J2EE
Unit 1 - Introduction To J2EE
Unit 1 - Introduction To J2EE
1. J2EE Technologies
– basic concepts of distributed systems
– J2EE standardizes distributed systems
– major technologies of the J2EE specification
2. Web and JBoss Server Terms
3. JBoss Server Architecture
Distributed Systems
• Maintainability:
– is a measure of how easily a system can be upgraded,
debugged, or maintained
– has a direct impact on how fast a system can
change/adapt to constantly changing requirements
• The solution includes:
– keeping business logic in modular, reusable units
– removing explicit access to infrastructure services
from the user interface (e.g. database access,
transaction demarcation, security)
How Standards Help
• JDBC is:
– a standard Java interface for accessing
heterogeneous databases
– a specification that defines four different
driver types for connecting to databases
Java Naming & Directory Interface (JNDI)
• JNDI is:
– a Java API for
accessing naming
and directory
servers
– built as a layer over
DNS, LDAP, etc.
Java Servlets
• Servlets provide a
request/response service.
• HTTP Servlets:
– are Servlets that can be
invoked by
HTTPcommands
– are deployed on Web
servers
– look like Web pages to
client browsers
– can store client data in a
local session
Java Server Pages (JSPs)
• Web Services:
– are server-side services
– are accessible over the Web using well-known
protocols
– are described using XML
– interact via XML
– locatable via a registry
– completely cross platform
and loosely coupled
Section Review
1. J2EE Technologies
2. Web and JBoss Server Terms
– terminology
– components of a JBoss Server domain
3. JBoss Server Architecture
Web Client
• A Web client:
– is usually a browser
– interacts with JBoss via
HTTP (using
Servlets/JSPs)
– displays HTML or XML
from Web servers
– may run applets or
JavaScript
– has varying levels of user-
configurable security
Application Client
• Application clients:
– are clients that do not
execute within a browser
– can communicate through
JRMP, IIOP, TCP/IP, or any
other technology
Web Server
• Web servers:
– provide Web content
– communicate via
HTTP, FTP, etc
– can handle CGI
requests
– proxy some requests
to Application
Servers
Application Server
• Application servers:
– provide services that
support the execution
and availability of
deployed applications
– handle heavier
processing chores than
Web servers
Proxy Server
• A proxy server:
– forwards requests to
other machines
– can be used as a level
of indirection and
security
– can be used to load
balance a system
Firewall
• Firewalls:
– provide filtering,
authorization, and
authentication services
– help keep out hackers
– map port requests
– can act as proxy
servers
– can decrease back end
network activity
A Web App Server Configuration
An Application Server Configuration
Server Node
• Machines:
– represent the physical piece of hardware
that a server resides on
– can be of Unix or non-Unix type
Server
1. J2EE Technologies
2. Web and JBoss Server Terms
3. JBoss Server Architecture
Just the Big Picture
Logic View
JMX Microkernel - Overview
JMX Microkernel - Overview
JMX Microkernel – HTTP Console