软件工程本科毕业外文文献翻译Word下载.doc
《软件工程本科毕业外文文献翻译Word下载.doc》由会员分享,可在线阅读,更多相关《软件工程本科毕业外文文献翻译Word下载.doc(13页珍藏版)》请在冰点文库上搜索。
analyses
some
integration
theory
key
technologies
about
SSH,
according
constructs
a
lightweight
WEB
framework,
which
has
integrated
three
kinds
of
forming
SSH
gaining
good
effects
practical
applications.
Introduction
Generally
platform[27]
used
large
applications,
well
solve
reliability,
stability,
its
weakness
is
price
constructing
cycle
long.
Corresponding
medium
replace
approach
WEB,
including
more
commonly
methods
are
Struts
Hibernate.
With
wide
Spring,
combination
may
be
choice
as
framework.
It
uses
layered
structure
provides
for
Web
applications
at
all
levels
minimizing
Interlayer
coupling
increasing
efficiency
development.
lot
problems,
with
maintainability
scalability.
separation
user
interface
business
logic
separation,
database
operation
correct
procedure
control
logic,
etc.
studies
principle
Spring
Hibernate,
presenting
proved
enterprise.
Hierarchical
Mechanism
presentation
layer,
logiclayer,
data
persistence
layer
expansion
etc,
each
different
function,
respectively
finish
whole
application.
divided
into
module
relatively
independent
mutual,
implemented
design.
realize
parallel
development,
rapid
integration,
maintainability,
MVC
Framework
To
ensure
reuse
development
process,
adopting
build
must
select
performance
.
Only
this
way
we
wasting
lots
time
because
adjusting
configuration
achieve
efficiently
quickly.
So,
programmers
course
practice
got
successful
pattern
practical,
O/R
mapping,
etc;
many
technologies,
Hibernate
frameworks,
realized
pattern.
However,
only
settled
problem
between
view
did
provide
flexible
support
complex
saving
process.
On
contrary,
offered
powerful
Therefore,
how
integrate
two
frameworks
get
flexible,
low-coupling
solutions
project
easy
maintain
information
system,
research
task
engineering
staff
studying
constantly.
Model-View-Controller
(MVC)
popular
design
divides
interactive
components
them
specializes
one
task.
model
contains
manages
core
functionality.
visual
display
feedback
users
managed
by
view.
controller
interprets
inputs
from
user,
also
dominates
change
appropriately.
separates
functionality
so
enhance
scalability
maintainability.
typical
frame[32],
it
aforementioned
components.
level
composed
JavaBean
EJB
action
ActionServlet,
consists
JSP
files.
central
controls
execution
that
receives
request
redirects
appropriate
controller.
Subsequently,
processes
returns
results
using
object,
stores
any
object
presented
an
indication
views
presented.
returned
main
displays
information.
Inversion
Control(IoC)
separate
actual
Configuration
dependent
regulations
Committed
solution,
attempting
existing
rather
“welding”
together
through
POJO
management.
In
addition,
developers
free
choose
all,
since
modules
totally
dependent.
As
major
business-level
detail,
employs
idea
delay
injection
assemble
code
sake
improving
built
systems.
Thus,
systems
centralized
processing
reduction
AOP
module.
Persistent
kind
open
source
DAO
patterns
mapping(O/R
Mapping)
relational
database.
During
tradition
directly
interacts
JDBC
.However,
method
heavy
workload
butalso
SQL
codes
need
revise
slightly
changes.
whatever
inconvenient.
Considering
difference
object-oriented
relation
java
database,
necessary
introduce
direct
mapping
mechanism
should
use
files
soon
possibility,
will
modifying
than
when
changes
future.
emerges,
hibernate
most
outstanding
realization
architecture.
encapsulates
making
Java
programmer
operate
oriented
programming
thinking.
implementation
lasting
layer.
Compared
other
JDBC,
EJB,
JDO,
grasp
line
own
query
language
(HQL),
fully
object-oriented.
basic
shown
figure6.1.
/
mapping(ORM).
generally
considered
bridge
owing
providing
durable
services
allowing
management
manipulation
Furthermore,
furnishes
language-HQL.
Responsible
categories
essentially
middle
ware
services.
supplies
utilizing
databases
several
profiles,
properties
XML
Mapping
etc..
Webservicestechnologies
TheintroductionofannotationsintoJavaEE5makesitsimpletocreatesophisticatedWebserviceendpointsandclientswithlesscodeandashorterlearningcurvethanwaspossiblewithearlierJavaEEversions.Annotations—firstintroducedinJavaSE5—aremodifiersyoucanaddtoyourcodeasmetadata.Theydon'
taffectprogramsemanticsdirectly,butthecompiler,developmenttools,andruntimelibrariescanprocessthemtoproduceadditionalJavalanguagesourcefiles,XMLdocuments,orotherartifactsandbehaviorthataugmentthecodecontainingtheannotations(seeResources).Laterinthearticle,you'
llseehowyoucaneasilyturnaregularJavaclassintoaWebservicebyaddingsimpleannotations.
Webapplicationtechnologies
JavaEE5welcomestwomajorpiecesoffront-endtechnology—JSFandJSTL—intothespecificationtojointheexistingJavaServerPagesandServletspecifications.JSFisasetofAPIsthatenableacomponent-basedapproachtouser-interfacedevelopment.JSTLisasetoftaglibrariesthatsupportembeddingprocedurallogic,accesstoJavaBeans,SQLcommands,localizedformattinginstructions,andXMLprocessinginJSPs.ThemostrecentreleasesofJSF,JSTL,andJSPsupportaunifiedexpressionlanguage(EL)thatallowsthesetechnologiestointegratemoreeasily(seeResources).
ThecornerstoneofWebservicessupportinJavaEE5isJAX-WS2.0,whichisafollow-ontoJAX-RPC1.1.BothofthesetechnologiesletyoucreateRESTfulandSOAP-basedWebserviceswithoutdealingdirectlywiththetediumofXMLprocessinganddatabindinginherenttoWebservices.DevelopersarefreetocontinueusingJAX-RPC(whichisstillrequiredofJavaEE5containers),butmigratingtoJAX-WSisstronglyrecommended.NewcomerstoJavaWebservicesmightaswellskipJAX-RPC