2009 WiEE International Advance Conputing Conference (IACC 2009)
2009 WiEE International Advance Conputing Conference (IACC 2009)
978-1E424- A1888!"08"82#te()0$ 2008 11% E&'i!1!4 A( %)e *7C +e,ign -attern %)e *.C de,ign pattern i, /idel0 u,ed 10 progra22er3 ,of e de,igner3 and 4I co2ponent developer to arc)itect t)e /idget t)e0 are developing( %)e *.C de,ign pattern3 a, ,)o/n in 5igure 13 con,i,t, of t)ree 6ind, of o17ect,8 *odel3 .ie/3 and Controller3 /)ic) )andle tl)ree 1a,ic re,pon,i1ilitie, of an0 /idget8 entit (data)3 1ounda0 (pre,entation)3 and control (1e)avior) re,pectivel0( %)e 2odel encap,ulate, application data and 1u,ine,, logic9 t)e vie/ )andle, rendenrng of application data and vi,ual interface to u,er9 and t)e controller )andle, u,er:, interaction /it) t)e application( in di,tri1uted environ2ent unli6e 'ava;ean( %)e '<- Itec) i, u,ed for creai vie/9 and te '- e i, con,idered a, a vie/ te2plate( %)e e=ecution of t)i, '<- page generae, t)e vie/ - >%* ?1@& contet( +ata1a,e 'ava EE Container appl0,ervice, 'ava;ean"E'; - Createlupdate contentn2 2odel (2) ,ervi et 1 t 8 noAAAAAAA)ti 50 (Controll er) re ad appl0 ,ervice, vie/ for/ar dA B ntro<ll Cr v i e / AAAAAA4E%I- C<% update vie/ reDue ,t receive u,erWe;r/r interface event, - t- di,pla0 outpIt E,er receive u,er interface event, 4- 5igure 1( *C +e,ign -attern %)e *.C de,i gn patt ern ,epa rate , vie/ , and 2ode l, 10 e,ta1li, )ing ,u1,cr i1e"no tif0 protocol 1et/een t)e2( A vie/ o17ect 2u,t en,ure t)at it, appearan ce reflect, t)e ,tate of t)e 2odel( %)e 2odel o17ect i, independ ent of 1ot) vie/ and controll er o17ect, 3 ,o it i, po,,i1le to )ave 2iultipl e vie/, (pre,ent ation,) of ,a2e 2odel (data)( All a,,ociat ed vie/, can ,u1, cri1 e /it) 2odel and 2odel notif ie, t)e2 a1out it, ,tate c)ang e( W)en u,er inte ract , /it) t)e *.C de,i gn paer n 1a,e d 4EI for2 or page3 all fired event, are captured 10 controller o17ect( %)e controller t)en decide, /)et)er t)e fired event i, related to c)ange in ,tate of 2odel or c)ange in ,tate of vie/( A, an e=a2ple3 /)en t)e u,er fire, event related to c)anging value in te=t field3 t)e controller call, t)e 2et)od of t2lodel to c)ange it, content( ;ut if t)e u,er perfor2, )oriFontal or vertical ,croll-up or ,croll-do/n3 t)e 2odel content doe, not c)ange and onl0 t)e vie/ ,)ould 1e notified to reflect t)e c)ange, in it, appearance( ;( We1- Application Arc)itecture in 'ava EEplatfor2 In a ,tand-alone application3 generall0 t)e 2odel3 vie/3 and controller live on t)e ,a2e 2ac)ine( ;ut in a di,tri1uted /e1- application3 t)e applicati on arc)itect ute i, differen t9 )o/ever3 t)e *.C de,ign pattern i, ,o general t)at it can ,till 1e applied to it, arc)itect ure( %)e 'ava EE platfor2 1a,ed /e1- applicati on, utiliFe *.C 1a,ed arc)itect ure a, ,)o/n in 5igue In 'ava EE platfor 2 1a,ed /e1- applicat ion arc)itec ture,3 t)e ,ervlet ?10& co2ponen t i, u,ed a, a control ler9 t)e 'ava;ean co2ponen t i, u,ed a,t a 2odel9 and te 'ava <erver -age, ?11& ('<-) pag8e iG, u,ed a, a vie/ te2plate ( %)e Ente9rpr i,e 'aa ;@ean (E';) ?12&l can 1e u,ed a, a( 2odel3 /ic can 1e located 5igture 2( E,e oft)e *.C
+e,ign -atter in t)e 'ava EE -latfor 2 1a,ed /e1- applica tion arc)ite cte %)e 'ava EE platfor2 provide , 2an0 ,0,te2 ,ervice , to /e1- applici on co2pone nt,( a ;E platfr2 provide , ,upport for ,ecurit 03 aut)ent ication 3 aut)onr Fation tran,ac tion( % data1a, e connect ion 2anae2e nt i, )andled 10 t)e 'a EE platfor 2 and it i, confiur a1le e=te2al l0 in deplo02en t de,cri ptor3 ,o t)e 2odel co2pone nt doe, not need to /orr0 a1out t)o,e detail,( %)u,3 t)e re,pon,i 1ilit0 of 2odel co2ponen t i, 7u,t to )adle onl0 1u,ine,, data ad 1u,ine,, logic( %)e aut)enti cation and aut)oriF ation ,ervice i, al,o provided 10 t)e 'ava EE platfor 2 to ,ervlet and t)i, ,ervice i, al,o configu ra1le e=ternal l0 in deplo02e nt de,cript or( %)e containe r 2ediate , 1et/een t)e ,ervlet co2ponen t, and /e1 1ro/,e r for eac) >%%- ?14& reDue, t, and applie , t)e ,ervic e, a, conf ed in t)e deplo ent de,crptor( 61. WE;- A--I CA%IC H +E.EC -*EH% -ICCE< < CH 'A A EE - A% 5C I* In t)i, ,ection3 /e di,cu,, a1out /e1- application develop2ent proce,, in 'ava ;E platfor2 ?7& and t)e ,upport availa1le for /e1- application develop2ent fro2 t)e 'ava ;E platfor2( A( We1- Applicatiot +evelop2ent -roee,, A t0pical develop2ent proce,, on 'ava ;E platfor2 involve, follo/ing ta,6,,8 de,igning3 coding3 creating deplo02tient de,cnrptor3 pac6aging3 a,,e2u1ling3 and deplo02ent( %)e,e ta,6, are al,o applica1le to /e1- application develop2ent al,o( %)e 'ava ;E platfr ,pecification ?8& ,pecifie,c t)e role, an8d t)eir re,pon,i1ilitie, in 'ava enterpri,e application develop2en( We pre,ent )ere t)e,e role, and t)ieirA 200 9IE EIt ert nat iol Ad a ice Con :ip i C( ou" crc e (8IA CC 200 93) 1!J# re,pon,i1ilitie, in variou, p)a,e, of /e1-application re,pon,i1ilitie, and t)eir involve2ent in ,pecific develop2ent develop2ent proce,,( %)e %a1le I ,)o/, t)e 2a7or role, pla0ed p)a,e,( 10 involved people during develop2ent3 t)eir role 1a,ed %A;E I( ICE ;A<E+ +E.EC-*EH% CH 'A.A EE -A%5CI*8 ICE3 IE<-CH<I;II%IE<3 AH+ IH.C.E*EH% C5 -EC-E IH +E.EC-*EH% -ICCE<< Iole Ie,pon,i1ilitie, Involve2ent in +evelop2ent -)a,e, Application co2pon ent Creating E'; co2ponent,3 /e1 co2ponent, +evelop2ent provider A,,e21le different co2ponent, into a deplo0a1le application( +evelop2ent3 Integration Application a,,e21ler Configuring deplo02ent de,criptor +eplo0er +eplo02ent of t)e a,,e21led application in a ,pecific operational +eplo02ent <0,te2 ad2ini,trator environ2ent( *aintenance and 2onitoring of application( +eci,ion, on oad *aintenance 1alancing3 redundanc03 5ail over3 etc( loc6-in( %)e 'ava EE platfor2 ,pecifie, vendor neutral ;( <upportin+eelop2ent -roce,,configuration in ,tandard deplo02ent de,criptor and vendor %)e develop2ent 1eco2e, efficient if tool,"tec)nolog0 configuration in vend deplo02ent
de,criptor ,upport i, availa1le during coding3 te,ting3 integration3 file,( %)e ven dor ,peci fic configurati on inclu de, a1,tra ct deplo02ent and 2aintenance p)a,e,( >ere3 /e di,cu,, )o/ ,ecurit0 role, 2apping /it) target ,ecurit0 ,0,te23 data ,ource 'ava EE platfor2 provide, ,upport during all t)e,e p)a,e, to 2a6e develop2ent proce,, efficient( reference,3 and ot)er re,ource configurati on( E E platfo r2 in& Codingg8 4 ) <uppo rt i n *aintenan ce8 % ) e 'a va 1 ) <uppo rt %)e develop2ent environ2en t ,pecification clearl0 ,pecifie, t)e role, and re,pon,i1ilitie, of ,)ould provide facilitie, of avoiding t0po,3 reDuire 2ini2al different involved people( A, di,cu,,ed a1ove( All t)e,e role, effort for adding ne/ functionalitie,3 and provide ,upport for appl0 to /e1 a, /ell a, enterpri,e 2odule"application ,tandard, 1a,ed tec)nolog0 and tool,( .er0 ,op)i,ticated develop2ent( %)ree 2ain role,8 developer3 a,,e21ler3 and develop2ent tool, are availa1le for ,oft/are develop2ent on deplo0er ,i2plif0 t)e /)ole develop2ent ta,6( All t)ree 1a,ic 'ava EE platfor2( %)e Het1ean, I+E ?1#& and Eclip,e I+E co2ponent,8 ,ervlet3 '<- and 'ava;ean"E'; co2ponent, can ? 1 ! & are a2ong t)e2( %)e,e I+E, are eDuipped /it) 1e i2ple2ented and 2aintained independentl0 10 ,ervlet ,op)i,ticated editor,( 5e/ of ,uc) feature, are auto code developer3 '<- developer3 and 'ava"E'; developer3 co2pletion3 re-factoring3 code in,ertion3 ,0nta= )ig)lig)ting to re,pectivel 0( avoid t0po error,3 fi=ing pac6age i2port,3 getter",etter )andling3 and code in,ertion for calling of E';,( %)e,e feature, I . ( .AEA;E 5EA%EIE< 5CI WE;-A--ICA%ICH CH 'A.A )elp a lot /)ile developing ,ervlet3 '<-3 'ava;ean and E'; EE -A%5CI* co2ponent A, 'ava tec)nolog0 ?9& i, o17ect oriented and ,( platfor2 2 ) <uppo rt in %e,ting8 4ood de1ugging and unit te,ting independent3 2an0 feature, ,uc) a, ,cala1ilit03 porta1ilit03 ,upport are 1a,ic reDuire2ent in te,ting proce,,( %)e 'ava reu,a1ilit03 ,ecurit03 )ig) perfor2ance3 fle=i1ilit0 are in)erent platfor2 ?9& co2e, /it) de1ugger 7d1 and t)e I+E, ,uc) a, in 'ava cla,,e, or co2ponent,( ;ot) <ervlet ? r I & and 'ava;ean Het1ean, and Eclip,e provide good de1ugging ,upport( %)e co2ponent, are 7ava cla,,e,3 ,o a1ove ,tated feature, are '%'nit ?17& provide, regre,,ion te,ting fra2e/or6 for unit in)erent in t)e2( %)i, al,o applie, to E'; ?12& co2ponent al,o3 te,ti ng( It can accelerate progra22ing and increa,e t)e Dualit0 /)ic) i, collection of 7ava cla,,e, and deplo02ent de,cript or( ea, il0 creating'avate,tca,e, 3 ' < - ?1 1& ,cripting language i , u, ed to create '<- page( Cf code( It provide, A-I for ea,ill0 creatng f o r runnin g Alt)oug) a '<- page loo6, li6e an >%* ?1@& 6ind ofpage3 at co2pre)en, ive a,,ertion facilitie,3 te,t runner, e=ecution ti2e it i, a tran,lated 7ava cla,, /)ic) get, e=ecuted( te,t,3 aggregation facilit0 and reporting( All t)e,e feature, )elp In ,)ort3 all t)ree co2ponent,8 ,ervlet3 'ava;ean"E';3 and '<- t)e developer, fro2 e21edding ,everal println( call, in actual t)at are u,ed in i2ple2enting *.C ?2& de,ign pattern ?@& on code and 2anuall0 preparing te,t re,ult, in ,tructured fa,)ion( 'ava EE platfor2 ?7& are ,cala1le3 porta1le3 reu,a1le3 ,ecure3 Adding and t)en re2oving individual println( for te,ting )ig) perfor2ance3 fle=i1le( %)e follo/ing availa1le feature, on purpo,e i, ver0 fru,trating ta,69 and it can not 1e replicated into t)e 'ava EE platfor2 add value to /e1-application( And in ,i2ilar cla,,e, ea,il0( certain 1u,ine,,"cu,to2er reDuire2ent,3 t)e0 are indi,pen,a1le( @ ) <upport in Integration and +eplo02ent8 %)e integration A < and deplo02ent of /e1-application ,)ould 1e a, ea,0 a, ecuri t0 po,,i1le to 2ini2iFe deplo02ent ti2e and do/nti2e( And t)e %)e co22unication ,ecurit0 (confidentialit0 and integrit0) deplo02ent proce,, ,)ould 1e independent of different )o,ting i, provided t)roug) << ?18& ,upport( 5or << ,upport3 t)e application ,erver provider,( <ince 'ava tec)nolog0 ?9& i, << connector ,)ould 1e configured on t)e 'ava EE container 1A Ai
/il run and t)e ,erver certificate ,igned 10 Certif0ing Aut)orit0 (CA) ,tandrd 1,ed3)e/1-appicaton deelopd u,ig1r& ,)ould 1e in,talled on t)e 'ava EE container( A 'ava EE on an0 'ava EE co2pliance ?8& application ,erver /it)out an0 1ae/1-plcto i,ongudfrcnietai0ad 2odification in code( %)e /e1-application I, free firo2 vendor integrit0 declarativel0( %)e 5igure @ ,)o/, t)ree configuration, 1!!! 2009 IEEE Inerna/'tion<al AdvanceCoptn Cofrec (C 2009 related to ,ecurit0 a,pect of /e1-application( %)e part ,)o/n under KL <ECEIE CC**EHICA%ICH --M i, related to confidentialit0 and integrit0 of data t)at get, tran,2itted 1et/een 'ava EE container and /e1-1ro/,er( K- <ECEII%N ICE M K,ecurit0-roleM Krole-na2neM2nanagerK"role-na2neM K",ecurit0-roleM Kc-- <ECEII%N CCH<%IAIH% --M K,ecurit0-con,traintM Kc--ACCE<< CCH%ICE+ IE<CEICE AH+ C-EIA%ICH - -M K/e1-re,ource-collectionM K/e1-re,ource-na2eMln1o=K"/e1-re,ource-na2eM Kurl-patternM"u,er"in1o="OK"url-patternM K)ttp-2et)odM4E%K")ttp-rnet)odM K)ttp-r2et)odM-C<%K")ttp-2et)odM K"/e1-re,ource-collectionM KL-AE%>CIIPE+ E<EI--M Kaut)-con,traintM Krole-na2neMu,er"role-na2eM K"aut)-con,traintM KL-<ECEIE CC**EHICA%ICH --M Ku,er-data-con,traintM Ktran,port-guaranteeM CCH5I+EH%IA K"tran,port-guaranteeM K"u,er-data-con,traintM K",ecu rit0-con,trai ntMQ Kc-- C4IH CCH5I4EIA%ICH--M Klogin-configM Kaut)-rnet)odM5CI*K"aut)-rnet)odM K"Iogin-configM 5igure @( +eclarative <ecurit0 Configuration, for t)e 'ava EE platfor2 1a,ed /e1-application, %)e part under KL-- C4iH CCH5I4EIA%ICH--M % in t% in 5igure @ declare, t)at u,er aut)entication 2u,t 1e perfor2ed 1efore granting acce,, to re,ource,( And it declare, t)at aut)entication 2et)od i, oft0pe 5CI*( %)e aut)oriFation part include, /)ic) operation, on /)ic) re,ource, are allo/ed 10 /)ic) u,er,( %)e part in,ide K/e1- re,ource-collectionM indicate, /)ic) re,ource i, acce,, controlled indicated 10 Kurl-patternM and /)ic) operation, are allo/ed indicated 10 K)ttp-2et)odM( And /)ic) u,er, are allo/ed to perfor2 ,elected operation, on ,elected re,ource, i, configured under KL AE%>CIIPE+ E<EI --M part( 2. %ran,action -roce,,ing 'ava EE platfor2 ,upport, container-2anaged tran,action and 1ean 2anaged tran,action for ,e,,ion 1ean and 2e,,age driven 1ean (*+;) ?12&( In Container-2anaged tran,action3 t)e enterpri,e 1ean code doe, not e=plicitl0 2ar6 t)e tran,action:, 1oundarie, u,ing 1egin tran,action and co22it tran,action( In,tead3 t)e tran,action i, configured in deplo02ent de,criptor( %)e container 1egin, a tran,action i22ediatel0 1efore a 1u,ine,, 2et)od in enterpri,e ,tart,( It co22it, t)e tran,action 7u,t 1efore t)e 1u,ine,, 2et)od in enterpri,e 1ean e=it,( If an e=ception get, generated during 1u,ine,, 2et)od e=ecution3 t)e container /ill auto2aticall0 roll 1ac6 t)e tran,action( %)e ,upport for onl0 eit)er a ,ingle tran,action or no tran,action at all i, availa1le fro2 container 2anaged tran,action( 5or fine-grained control over tran,action3 t)e 1ean-2anaged tran,action can 1e u,ed( >ere t)e code in t)e ,e,,ion or 2e,,age driven 1ean e=plicitl0 2ar6, t)e 1oundarie, of t)e tran,action u,ing 'ava %ran,action A-I ('%A)( C( <upportfor ,e,,ion 2anage2en *o,t of t)e /e1-application, on t)e Internet )andle t)e ,e,,ion u,ing coo6ie 2ec)ani,2( <o3 t)e u,er,3 /)o are acce,,ing ,uc) /e1-application, fro2 1ro/,er, t)at do not ,upport coo6ie 2ec)ani,23 cannot participate in ,e,,ion and /ill not 1e a1le to acce,, an0 per,onal re,ource( %)e encode EIE 2ec)ani,2 on 'ava EE platfor2 auto2aticall0 deter2ine, /)et)er t)e client:, 1ro/,er ,upport, t)e coo6ie or not3 and t)en decide, )o/ t)e infor2ation a1out ,e,,ion identification ,)ould 1e ,tored on client 2ac)ine( If t)e client:, 1ro/,er doe, not ,upport t)e coo6ie or t)e coo6ie feature )a, 1een di,a1led 10 t)e u,er3 t)e ,e,,ion id value i, encoded in EI part of eac) )0per-lin6 on t)e page t)at client i, going to u,e( +d If a u,er i, tr0ing to acce,, a re,ource3 /)ic) i, not availa1le3 t)e ,erver ,)o/, t)e error 2e,,age 404 (<C HC% 5CEH+) re,ource not found e=ception( In,tead3 t)e - (( error page containing 1eautiful de,cription in non-tec)nical Engli,) language i, ,)o/n3 t)e u,er /ill reall0 under,tand t)e cau,e of pro1le2 and ,o2eti2e, feel, t)at 0ou care for t)e u,er,( A good /e1-application ,)ould not ,)o/ t)e error 2e,,age, generated 10 application ,erver or /e1-,erver directl0 to u,er,( A, an e=a2ple3 a /e1-application can 1e configured for 404 re,ource not found e=ception a, ,)o/n in 5igure 4( E,ing t)i, configuration3 t)e error page, for u,er- defined error 2e,,age, can al,o 1e ,pecified( In,tead of error-code3 t)e e=ception-t0pe can al,o 1e ,pecified( %)e re,ourceHot5ound()t2l file /ould contain error 2e,,age in a languageunder,tanda1letouu,er( Kerror-pageM Kerror-codeM404K"error-codeM KlocationM"re,ourceHot5ound()t2lK"IocationM K"error-pageM 5igure 4( +eclarative Error-page Configuration u,ing error-code and location E( InternationaliFation"*ulti-language <upport If infor2ation i, provided to u,er, in a language t)at t)e0 under,tand and u,e3 it /ould 1e ea,ier for u,er, to under,tand and u,e t)e application( %)e Enicode ,upport for ,tring, i, in)erent in t)e 'ava language ?9&( %)e language al,o ,upport, locale ,pecific for2atting of nu21er3 currenc03 date3 ti2e3 etc( All ,uc) ,upport, )elp a lot in 2a6ing t)e 'ava EE platfor2 ?7& 1a,ed /e1-application an inte2nationaliFed one and t)e0 al,o increa,e t)e u,a1ilit0 of /e1-application acro,, t)e /orld( 2009IEEEInternationalAdvane Co2putingConference(IACC2009) AC>IE.IH4 REAI%N 5CI %>E WE;-A--ICA%ICH AH+ /e1-application include, variou, de,ign ta,6, ?!&( %)e,e de,ign I%< CC*-CHEH%< CH 'A.A EE -A%5CI* %)e Dualit0 of individual co2ponent, al,o affect i n ac)iev ing (( ( ( ( over all Dualit0 of /)ole application( We3 fi r, t3 pre,ent )ere i2portant Dualit0 attri1ute, of co2ponent, and )o/ t)e,e Dualit0 attri1ute, are ,ati,fied for all t)ree co2ponent,8 *odel3 .ie/3 and Controller( %)e related anal0,i, and re,ult, are pre,ented in %a1le II( <econd3 t)e de,ign of an0 ta,6, and availa1le ,upport for t)e2 on 'ava EE platfor2 ?7& are pre,ented in %a1le III( %)ird3 t)e overall ,upport for
Dualit0 AAAAAAAAAattri1ute, ?ni t0 to /e1-application a, a /)ole deter2ine, t)e ov erall Dual %)e,e Dualit0 attri1ute,3 criteria involved in ac)ieving t)e,e Dualit0 attri1ute, and availa1le ,upport for t)e2
on
'ava
EE platfor2 are pre,ented in %a1le I.( %A;E II( REAI%N A%%II;E%E< C5 CC*-CHEH%< AH+ <E--CI% 5CI %>E* CH 'A.A EE -A%5CI* Attri1u te, *od el <upport for Dualit0 attri1ute, to *.C co2ponent, .i e/ Controller >ig) -erfor2ance 'I% co2piler for fa,t co2pilation of 10te code3 <eparate t)read per u,er reDue,t3 ocal E'; co2ponent, to i2prove E=ten,i1il it0 perfor2an ce( All co2ponent, are C17ect Criented( <cala1ili t0 'ava EE platfor2 i, providing di,tri1uted load 1alancing 2ec)ani,2( It i, a vendor ,pecific feature 2entioned in <ecurit0 ,pecificati on( -rogra22a tic E,ing EI 2a,6ing( +eclarative and -rogra22atic ,ecurit0 for <ervlet +eclarat ive a n d ,ecurit0 for E'; co2ponent( 'ava co2ponent( ;e an co2pone nt, a r e acce,,i 1le t)roug) vie/"controller( Io1u,tne ,, Co2ponent, run under control of H.*3 d0na2ic cla,, loader and 10te code verifier( 5le=i1ili t0 E, in g ' H + I 1a ,e d declarat ive E, in g 2a,te r pag e3 E,ing reDue,t-di,patc)ing and for/ard 2et)od,3 data1a,e acce,, configurati on( file" page inclu,io n3 filter c)ain( C)ange in 2odel o17ect u,ing reDu e,t di,patc)in g3 ,coped attri1ute, i, ea,il0 po,,i1le( reDue,t for/arding *odulari t0 E'; 7ar 2odule, % a g li1rar 03 /ar /ar 2odule,3 filter, Ieu,a1ili t0 Ie2ote E'; o17ect ,upport 2odu le, li1rar 03 E,ing reDue,t di,patc)ing and for/ard 2et)od,( Cu, to2 ta g page" file inclu,io n3 5ilter c)ain( QQQQQQQQQQQQQQQQQQQQQQQQQQ AAAAAlin6, %A;E III( WE;-A--ICA%ICH +E<I4H %A<S< AH+ <E--CI% 5CI %>E* CH 'A.A EE -A%5CI* Attri1ute, ?!& 'ava EE -latfor2 ,upport for de,ign ta,6 Interface +e,ign >%* control,3 'ava <erver 5ace, ('<5) fra2e/or6 control,( Ae,t)etic +e,ign Ca,cading <t0le <)eet (C<<) ,upport( Content +e,ign Container 2anaged relation, for entitie, and entit0 1ean, and provide, E';- R( Havigation +e,ign In '<5 fra2e/or63 /e can configure navigation grap)icall0 a, /ell a, 2anuall0 in face,- config(=2l( Arc)itecture +e,ign *.C de,ign pattern( Co2ponent +e,ign ife c0cle of all co2ponent, i, )andled 10 'ava EE container and provide, 1a,ic ,6eleton for all co2ponent,( %A;E I.( WE;-A--ICA%ICH REAI%N A%%II;E%E< AH+ <E--CI% 5CI %>E* CH 'A.A EE -A%5CI* Attri1ute, ?1& Criter ia <upport on 'ava EE platfor2 E,a1ilit0 - 4lo1al ,ite under,tanda1ilit0 - InternationaliFation ,upport3 locale ,pecific re,ource 1undle, - Cn-line feed1ac6 and )elp feature, - Cu,to2 error page, - Interface and ae,t)etic feature, - Co2ponent,8 in1uilt a, /ell a, Cu,to2 u,er interface co2ponent develop2ent in - <pecial feature, '<5( C<< ,upport - %ran,action proce,,ing3 ,ecurit0 5unctionali t0 - <earc)ing and retrieving capa1ilit0 - create3 read3 update3 delete3 find3 1u,ine,, function, ,upport on E'; entit0 1ean, and per,i,tence entitie, - Havigation and 1ro/,ing feature, - .ie/8 declarative navigation in '<5 fra2e/or6 *odel8 Container *anaged -er,i,tence relation, in E'; entit0 1ean, and per,i,tence entitie,( - Application do2ain-related feature, - E'; ,e,,ion 1ean8 1u,ine,, logic3 1u,ine,, rule,( E'; entit0 1ean, and per,i,tent entitie,8 1u,ine,, data Ielia1ilit 0 - Correct lin6 proce,,ing E'; *e,,age +riven ;ean8 A,0nc)ronou, 1u,ine,, event )andling( - +eclarative navigation i, accurate( - Error recover0 - E=ception )andling ,upport( Efficienc0 - E,er input validation and recover0 - '<5 fra2e/or6 ,upport, data conver,ion and validation( - Ie,pon,e ti2e perfor2ance - <eparate t)read per u,er reDue,t( - -age generation ,peed - '<- i, co2plied once( It i, fa,t( - 4rap)ic, generation ,peed - Ho e=plicit ,upport i, availa1le( *aintaina1ili t0 - Ea,e of correction - Iole 1a,ed and concurrent 2aintenance ta,6( - Adapta1ilit 0 - 'ava EE i, ,tandard 1a,ed3 no vender loc6-in( - E=ten,i1ilit 0 - Co2ponent, are o17ect oriented 1!!8 2009 IEEE Interna,titon >al Advanc Co2utn Conferene (4C 2009) . I CCHCE<I ?@& E( 4a22a3 +e,ign -atte2,8 Ele2ent, of Ieu,a1le C17ect- Criented ( CH <oft/are3 Addi,on-We,le03 1994( Wc anal0Fed t)c 'ava ;E platfor2 a, pcr Dualit0 attri1ute, ? 4 & A( eff and '( %( Ia0field TWe1-application develop2ent u,ing t)e reDuire2en t /e1- ( and foundt)atDualit02odel"vie/"controller de,ign
patte23T
in -roceeding, of t)e #t) IEEE rcDuirc2cnt, of /e1r-application, found t)at Dualit0 International Conference o n Enterpri,e +i,tri1uted C17ect Co2puting3 attri1ute,8 u,a1ilit03 functionalit03 relia1ilit03 efficienc0 and 20 01 3 pp( 118- 127( 2aintaina1ilit0 can all 1e ,ati,fied /it) it( 5ro2 t)e di,cu,,ion ? # & 5( A( *a,oud3 +ana( >( >ala1i and +ee2a( >( >ala1i3 TA<-(HE% and it i, evident t)at 'ava EE platfor2 ,i2plifie, t)e de,ignin g3 '<- fra2e/or6, in 2odel vie/ controller i2ple2entation3T in develop2ent3 deplo02ent3 integration and te,ting proce,, of -roceeding, of Infor2ation and Co22unication %ec)nologie,3 200!( /e1-application /it)out co2pro2i,ing )ig) Dualit0( It al,o IC%%A:0!3pp( @#9@- @#98( e2po/er, t)e develop2ent of /e1-application /it) ,cala1ilit03 ? ! & I( <( -re,,2an3 <oft/are Engineering8 A -ractitioner:, Approac) !e3 porta1ilit03 interopera1ilit03 reu,a1ilit03 fle=i1ilit0 and ,ecurit0( ? 7 & *c4ra/ >ill3 200 #( <un *icro<0,te2( 'ava Enterpri,e Edition( )ttp8"" 7ava(,un(co2"7avaee" *an0 fra2e/or6, for /e1-application develop2ent are ? 8 & 'ava Co22unit0 -roce,,( )ttp8""7cp(org" availa1le on 'ava EE platfor2n3 1ut no one i, found providing ? 9 & <un *icro<0,te2( 'ava %ec)nolog0( )ttp8""7ava(,un(co2( ,upport for )ig) Dualit0 di,tri1uted /e1-application( In future3 ? 1 0 & <un *icro<0,te2( 'ava <ervlet %ec)nolog0 I2ple2entation and /e intend to /or6 on developing di,tri1uted )ig) Dualit0 /e1- <pecificati on( )ttp8""7ava(,un(co2"product,",ervlet"do/ n- application fra2e/or6 on 'ava EE platfor2( load()t2lU,pe c, ?11& <un *icro<0,te2( 'ava <erver -age,( )ttp,8""7ava(,un(co2"product,"7,p" IE5EIEHCE< ? 1 2 & < u n *icro<0,t e2( Enterpri ,e 'ava;ea n, <pecificatio n,( )ttp8""7ava(,un(co2"lproduct,"e71,"doc,()t 2l( ? 1 & Cl,ina3 ( et al(3 T<pecif0ing Dualit0 c)aracteri, tic, and attri1ute, for ? 1 @ & W@C <pecification,( )ttp8""///(/@(org /e1 ,ite,3T in -roc( 1,t IC<E Wor6,)op on We1 Engineering3 AC*3 o, ? 1 4 & I5C8 )ttp protocol3 )ttp8""///(/@(org"-rotocol,"ifc2!1!"rfc2!1!()t2l Angele,3 *a0 1999( ? 1 4 & Het8ean, I+E3 )ttp8""/ //(n ,(or gc ? 2 & 4( E( Sra,ner and <( %( -ope3 TA Coo61oo6 for E,ing t)e *odel- .ie/- ? 1 # & Het1ean, I+E3 )ttp8""///(net1ean,(or g( Controller E,er-Interface -aradig2 in <2alltal6-803T 'ournal of C17ect- ? 1 ! & Eclip,e I+E )ttp8""///(eclip,e(org( Criented -rogra22ing3 Augu,t"<epte21er 1988( ? 1 7 & 'Enit 5ra2e/or63 )ttp8""///(7unit(org( ? 1 8 I5C 8 <<3 ///(ietforg"rfc"rfc224!(t=t & 2009 IEEEIntern(ationalAdvaneCo2puVti ngConference(IACC2009) 1!!9