Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 9

Yesterday story jee is component

based.
jee world there is something called
container, which is like the
rectangle we spoke yesterday.

in any jee world we got to know


packaging structures.
somebody tells java library == jar

file.
what does jar file have
classes and interfaces present in
some packages.
ear files -- jee application
war files -- one component of jee
application which is actually a web
component
jar files -- ejb component in jee
applications
rar files. -- jca components which
are used to connect to legacy
systems.
what is war file.
it is a folder structure which is
predefined by jee, and we have to
agree to this folder structure , if we

dont jee can give us enough


entertainment.
folder
WEB-INF
classes
lib
web.xml (
Annotations)
web-inf acts likea barrier ,
anything present inside web-inf
folder is not accessible by the end
user it is accessible only
programatically.

for any web appliaction. first thing


is to build paintbrush picturs of
how the screen looks like and then
build actual prototypes of how
things look likeand after we get a
feedback on this, then we can think
of doing actual business logic.

in any web application

we have to decide on the prototype


and then "plan" for how we plan to
do business logic.
in any application.
1. test presentation independently.
2. test service and DAO
independently.
3. integrate 2 and 1 and test one
more time.
minimum decency to test.
only tomcat working scary ,
integrate it with some web server
and then use it.
example tomcat + IIS or tomcat +
apache http server.

in advanced java, lack of


systematism will be very
expensive.
in advanced java, lack of
systematism will be very
expensive.
in advanced java, lack of
systematism will be very
expensive.

<input type="text"
name="username" id="userid"
maxlength="10" />
use name if you plan to use it with
server side.
ok we are done with so called
"case study rqeuirement of html
pages".

Server side component called


Servlet.
what is a servlet, servlet is a srver
side component in jee web
applications which is usuallyused
for co-ordinating requests .

You might also like