2
Unit – I - Enterprise Computing – 3 rd Year – B.Sc., C.S. UNIT – 1 JEE ! JSE" JEE #u$ti-tier %rc&itecture – 'istri(uti)e S*stems T&e Tier #u$ti tier %rc&itecture – C$ient tier imp$ementation – +e( Tier Imp$ementation – EJB Tier Imp$ementation – EIS Tier Imp$ementation – C&a$$enges JEE BEST %CTICES" Enterprise %pp$ication Strateg* – T&e Enterprise %pp$ication – C$ients – Sessions #anagement – +e( tier and Ja)a Ser)er ages #u$ti tier %rc&itecture" % c$ient/s re0uest to a ser)er generates re0uests to anot&er ser)er t&at are connected toget&er t&roug& a (ac (one net2or . Eg. You as ing a tra)e$ agent to arrange *our )acation. T&e 3 editions o Ja)a are" 1. JSE – % I needed to (ui$t a Ja)a app4app$et . J#E – % I used to create 2ire$ess Ja)a %pps. 3. JEE – % I to (ui$d apps or mu$ti-tier arc&itecture The birth of J2EE: C5I tec&no$og* consisted o a program t&at 2as ca$$a($e (* a (ro2se 2&ene)er t&e $in 4 action rom 2e( occurs C5I uses t&e user/s data to retrie)e t&e account in ormation rom a data(ase. Ja)a Ser)$ets – addresses t&e pro($em o C5I Tec&. Ja)a Ser)$ets – consists o Ja)a c$asses, data and met&ods 2&ic& are ca$$a($e (* a (ro2ser simi$ar to &o2 a (ro2ser ca$$s a C5I program. Ja)a – 2as used or a$$ coding in 6Ja)a Ser)$et7 and 68T#97 code 2as used on$* in output statements t&at 2ere sent to t&e (ro2ser : So JS 2 de)e$oped; JS – is 2ritten in 8T#9 2it& snippets o Ja)a Code interming$ed. JS is t&en automatica$$* trans$ated into a Ja)a Ser)$et. Databases: <rac$e, 'B, In ormi=, S*(ase, #*S>9, S>9Ser)er, etc? T&e Ja)a team &as standards o e$ationa$ 'ata(ase Structure o Structured >uer* 9anguage 'B#S %pp$ies 6Norma$i@ation7 ru$es, among ot&er t&ings, reduce redundanc* in data. S>9 – consists o Ae*2ords ! Statements. It instructs a 'B#S a per orm data management tas s. J'BC – Ja)a team created one % I t&at is connected to t&e 'B#S, ormu$ated a S>9 statement, sent t&e S>9 statement to 'B#S, t&en recei)ed in ormation :data4message; rom t&e 'B#S.

J2EE - Unit I - Enterprise Computing

Embed Size (px)

DESCRIPTION

Enterprise computing Unit I notes

Citation preview

Unit I - Enterprise Computing 3rd Year B.Sc., C.S.UNIT 1J2EE & J2SE: J2EE Multi-tier Architecture Distributive Systems The Tier J2EE Multi tier Architecture Client tier implementation Web Tier Implementation EJB Tier Implementation EIS Tier Implementation Challenges J2EE BEST PRACTICES: Enterprise Application Strategy The Enterprise Application Clients Sessions Management Web tier and Java Server Pages*************************************************************************Multi tier Architecture: A clients request to a server generates requests to another server that are connected together through a backbone network. Eg. You asking a travel agent to arrange your vacation.The 3 editions of Java are: 1. J2SE API needed to built a Java app/applet2. J2ME API used to create wireless Java Apps.3. J2EE API to build apps for multi-tier architecture

The birth of J2EE: CGI technology consisted of a program that was callable by a browser whenever the link / action from web occurs CGI uses the users data to retrieve the account information from a database. Java Servlets addresses the problem of CGI Tech. Java Servlets consists of Java classes, data and methods which are callable by a browser similar to how a browser calls a CGI program. Java was used for all coding in Java Servlet and HTML code was used only in output statements that were sent to the browser ( So JSP was developed) JSP is written in HTML with snippets of Java Code intermingled. JSP is then automatically translated into a Java Servlet.

Databases: Oracle, DB2, Informix, Sybase, MySQL, SQLServer, etc The Java team has 2 standards Relational Database Structure Structured Query Language RDBMS Applies Normalization rules, among other things, reduce redundancy in data. SQL consists of Keywords & Statements. It instructs a DBMS a perform data management tasks. JDBC Java team created one API that is connected to the DBMS, formulated a SQL statement, sent the SQL statement to DBMS, then received information (data/message) from the DBMS.

The Maturing of Java JDK was released Extensions were used to Java as J2SE Java Community Programs (JCPs) developed a standard for enterprise Java APIs This enterprise edition is J2EE

Java Beans and Java Messaging Service Java promoted JMS and EJB technologies EJB consists of specifications and APIs for developing reusable server-side business components designed to run on Application servers. EJB used to encode and share business logic among clients by using.