Design ejb design patterns phần 3 ppsx

Design ejb design patterns phần 3 ppsx

Design ejb design patterns phần 3 ppsx

... have an Account DTO, as shown in Figure 2 .3. Figure 2 .3 Account EJB and Account domain DTO. accountNumber name password balance / /ejb methods ejbLoad() ejbStore() AccountBean accountNumber name password balance getAccountNumber() getName() getPassword() getBalance() setAccountNumber() setName() setPassword() setBalance() AccountDTO 52 ... the server. Client EJB Network getAttribut...

Ngày tải lên: 09/08/2014, 16:20

29 328 0
Design ejb design patterns phần 5 ppsx

Design ejb design patterns phần 5 ppsx

... the Account: < ;ejb- ref> < ;ejb- ref-name> com.bankapp.AcccountHome < /ejb- ref-name> < ;ejb- ref-type> Session < /ejb- ref-type> <home> com.bankapp.AcccountHome </home> <remote> com.bankapp.Acccount </remote> < /ejb- ref> This ... (AccountHome)EJBHomeFactory.getFactory() .lookUpHome(AccountHome.class); uses uses singleton - HashMap e...

Ngày tải lên: 09/08/2014, 16:20

29 343 0
Design ejb design patterns phần 7 ppsx

Design ejb design patterns phần 7 ppsx

... <antcall target=”generate .ejb. ear.DD”/> </target> <target name=”packageExampleEJB”> <antcall target=”package .ejb > <param name=”package .ejb. ejbname” value=”Example”/> <param ... target=”package .ejb. ear”/> <antcall target=”package.web.war”/> </target> <target name=”package .ejb. jars”> <antcall target=”packageExampleEJB”/> <...

Ngày tải lên: 09/08/2014, 16:20

29 272 0
Design ejb design patterns phần 2 pot

Design ejb design patterns phần 2 pot

... executeCommand(transferFundsCommand) get Network executeCommand(command)executeCommand(command) EJB Layer Architectural Patterns 23 EJB Command An EJB client needs to execute business logic in order to complete a use ... factories. EJB Team A EJB Team B Application Server Team A's Factory Stateless SB Team B's Factory Stateless SB Car Entity Bean Manufacturer Entity B...

Ngày tải lên: 09/08/2014, 16:20

29 357 0
Design ejb design patterns phần 4 doc

Design ejb design patterns phần 4 doc

... methods setEntityContext(ctx) unSetEntiyContext() ejbCreate(id, balance) ejbPostCreate(id, balance) ejbStore() ejbLoad() ejbRemove() ejbActivate() ejbPassivate() abstract AccountCMPBean entityContext accountID balance //overridden ... accessors getBalance() setBalance(int) getAccountID() setAccountID(int) //overridden ejb methods ejbCreate(id, balance) ejbStore() ejbLoad() ejbRemove() //har...

Ngày tải lên: 09/08/2014, 16:20

29 271 0
w