当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: As I sit down to write this arti
 

 

    摘要: using charts makes complex data easier to comprehend. unfortunately the decision to add charts to a web site or an application doesnt necessarily make life easier for the designers and programme......
 ·visual programming comes of age @ jdj    »显示摘要«
    摘要: who are you writing beans for? like most bean developers, you probably think your customer is someone just like you, a java programmer. you design your beans with yourself in mind, adding features......


Enterprise JavaBeans Persistence @ JDJ
"would you like the window or the aisle, sir?" asks the intergalactic travel ticket agent. decisions, decisions! does it matter? well, maybe. that depends on a number of factors. hmmm....are you flying into the magnificent city of coruscant or bound for barren tatooine? is the seat adjacent to the window seat occupied by darth maul?

life is all about options, and the development of business applications is no different. fewer options amount to less flexibility; however, limiting your choices certainly simplifies the decision process. on the other hand, more options means more flexibility for your application, albeit at the cost of lengthy debate over which choice is best for you. this months topic discusses the choices available when you implement persistence with entity beans in your enterprise javabeans application.

entity bean state management 【推荐阅读:Managing Environment

as i sit down to write this article, the hype for star wars episode 1: the phantom menace is even greater than the java industry hype before the release of the enterprise javabeans specification 1.0! i couldnt help including a few references of my own to the beloved trilogy in hopes of adding a little flavor to an otherwise drab topic: persisting data.

enterprise javabeans persistence: two persistence models

the enterprise javabeans 1.0 (and newly released 1.1) specification attempts to simplify decisions about persistence by providing a straightforward persistence model for managing the state of entity beans (note that entity bean support is not mandatory in 1.0 of the ejb specification, but is mandatory for ejb 1.1 compliance). state management refers to the creation, destruction, loading and storage of persistent data in an entity bean. the ejb specification defines a small set of methods to perform these important services: ejbcreate, ejbload, ejbstore, ejbremove, ejbactivate and ejbpassivate. were particularly interested in the first four, which represent the crud (create, read, update and delete) operations typically seen in a persistent application. over the course of this article youll become intimate with these methods and their state management responsibilities through the intergalactic travel ticket system examples.

besides describing the methods for managing an entity beans state, the ejb specification offers two models of per
...   下一页

    摘要: eliad technologies is a young company with a mission: to bring data visualization components to the java community in a very small footprint (i.e., 162kb). the fruit of their labor is jsmartgrid......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE