custom web design Rotating Header Image

Web Development

JavaScript Photo 3D display space (3DRoom)

General plane effect, by changing the horizontal and vertical coordinates can be achieved, coupled with the depth, we can produce in visual 3D (three dimensional) effect.
Program is to simulate a three-dimensional space, which will be based on three-dimensional coordinates of the image displayed in this space.
Long ago saw a 3DRoom effect is achieved by complex calculations.
In the previous image transformation after studying css3 the transform to think of a more simple way to achieve.
Compatibility: ie6/7/8, firefox 3.6.8, opera 10.6, safari 5.0.1, chrome 5.0
Mid-Autumn Festival is approaching, I wish you Happy Mid-Autumn Festival, round and round!

(more…)

SWT Layout developed with attention to items

Two days, leading team members to develop a useful interface complexity, as team members of the SWT’s Layout is not very familiar with the interface has a lot of problems there. Some time is unusual, because the Layout and LayoutData do not match, sometimes it is not the screen display. Always, the problem can produce basically met.
The current development thinking is the first painting with SWT Designer interface, and then hand reconstruction order, SWT Designer reconstructed the code for it can no longer identified. Therefore, visualization tools alone is not enough, but also very familiar with the coding on the SWT interface. So for SWT Layout of control is crucial.

Enhance the speed of response JSP page seven Cheats trick

Method 1: In the servlet’s init () method for caching data
When the application server after initialization servlet instance for the service before the client requests, it calls the servlet’s init () method. In a servlet’s life cycle, init () method is called only once. By init () method in the cache of some static data or do some only run once, and time-consuming operation, you can greatly improve system performance.
For example, through the init () method to create a JDBC connection pool is a good example, suppose we is jdbc2.0 the DataSource interface to obtain a database connection, in normal circumstances, we need to obtain specific data JNDI source. We can imagine in a specific application, if the request should be executed once for each SQL query JNDI, then system performance will drop sharply. The solution is the following code, which by caching DataSource, so the next time SQL calls can continue to use it:

The stored procedure method of packaging for the EJB component

Integrated Web application server and database management (DBMS) technology is a lot of common needs of new business applications. In this article, we will discuss the integration of De one aspect: how the session Enterprise JavaBeans (EJB) component in the design and development package, or call Xianyou DBMS Cunchu process method. You should be familiar with EJB technologies, structured query language (SQL) and Java Database Connectivity (JDBC) basic knowledge in order to fully understand this article.
If you are working in the DMBS need to access or modify data in Web application development, it may have been transferred to the design based on EJB. You may find that the session EJB components by making use of DBMS stored procedures can reduce coding and maintenance work, and may improve data access performance.

In the JSP in how MD5 encryption

Source
/ **
* Class name: MD5Digest
* Note: the password used to encrypt the md5 utility parameters
* Date written: 2001/03/05
* Modified By:
* Modify the information:
* @ Author edgarlo edgarlo@china.com
* @ Version 1.0
(more…)
Related Posts Plugin for WordPress, Blogger...