Code analysis for selective runtime data processing
    1.
    发明授权
    Code analysis for selective runtime data processing 有权
    选择运行时数据处理的代码分析

    公开(公告)号:US07219341B2

    公开(公告)日:2007-05-15

    申请号:US10285007

    申请日:2002-10-31

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443

    摘要: A method, system and apparatus for performing selective data processing based upon a static analysis of the code of a compiled object. A compiled object, for example an enterprise bean, can be analyzed to determine how individual methods in the enterprise bean access specific objects. Those specific objects can include, for instance, data members of a class, or class objects passed into one or more individual methods of the enterprise bean. Where the individual methods of the enterprise bean do not mutate or otherwise change the state of the specific objects, those objects can be accessed by reference only. Importantly, where the specific objects are data fields linked to a table in a database as managed by a container managed persistence (CMP) bean, an update to the table will not be required when the static analysis of the enterprise bean otherwise indicates that the data fields are merely accessed, but not updated.

    摘要翻译: 一种用于基于编译对象的代码的静态分析来执行选择性数据处理的方法,系统和装置。 可以分析编译对象,例如企业bean,以确定企业bean中的各个方法如何访问特定对象。 这些特定对象可以包括例如类的数据成员或传递到企业bean的一个或多个单独方法的类对象。 如果企业bean的各个方法不会突变或以其他方式更改特定对象的状态,那么这些对象只能通过引用来访问。 重要的是,特定对象是数据字段链接到由容器管理持久性(CMP)bean管理的数据库中的表的数据字段,当企业bean的静态分析否则表示数据时,将不需要更新表 字段仅被访问,但不被更新。