Position:Home>JAVA Development> 12 the most important J2EE optimal practice (2)
12 the most important J2EE optimal practice (2)
From;  Author:Stand originally


Of the property that obtains from the dynamic cache mechanism of Servet and JSP raise be clearly, this depends on the character that uses a program. Cox and Martin [Cox] point out existing to RDF (resource describes a form) site summary (RSS)servlet, when using dynamic cache, its function can rise 10% . Notice this experiment involves a simple Servlet only please, the growth of this function measures a possibility and can not reflect a complex applied program.

To improve performance morely, mix cache of WebSphere Servlet/JSP result and processor of ESI Fragment of WebSphere plug-in unit, IBM HTTP Server Fast Response Cache Accelerator (FRCA) function of Edge Server cache is compositive together. Read extraction working load to be based on onerously, through using these the function can get a lot of additional benefit.

12. To improve the work efficiency of programmer, CMP substance Bean regards the first selection of O/R map as the solution.

Through WebSphere frame (level of Readahead, cache, segregation) optimize function. If likelihood, the application that has a choice a few mode will achieve the goal that improves performance, for example Fast-Lane reader [Marinescu] .

Object / relation (O/R) the foundation that map is the applied program that use Java establishs company level. Almost the O/R map that process of every J2EE application needs a few kinds. J2EE manufacturer provides mechanism of map of a kind of O/R, this kind of mechanism is transplanting between different manufacturer, efficient, and can be supported well by a few standards and tool. This is the CMP in EJB standard (the endurance of container management) part.

Inchoate CMP comes true in order to behave not beautiful and do not support a lot of SQL constructions and celebrated. However, as EJB 2.0 and the occurrence of 2.1 standards, and be adopted by place of a few manufacturers, and appear as what resemble IBM WebSphere Studio Application Developer, these problems had been a problem no longer.

CMP EJB component has been applied in a lot of high-powered application processes widely now. WebSphere includes a few optimize a function in order to improve the performance of EJB component, optimize a function to include: To the cache of lifecycle and Read-ahead ability. This is both optimizing a function is the option when configuration, and do not need correspondence undertake revise or be affectinged can transplanting with the program quality.

The data of condition of lifecycle cache CMP that is in cache condition offers the invalid sex that is based on time. The property that obtains from the lifecycle that is in cache condition improves the cache performance that can achieve option A, and still can think your applied process is offerred can extend malleability. Read-ahead ability and the relation union that container runs are used. This character retrieves relevant data to decrease as father data through optional in same inquiry ground with the database alternant. If relevant data wants to pass,use concurrent if inquiry will visit, this kind of method can get the improvement of function. [Gunther] provided detailed description and the detail that improve through the property that these character obtain.
Previous 1 2 3 4 5 67 Next