Thursday, October 14, 2010

JSP and EJB interaction



The following is a snippet code, demonstrates the JSP to interact with the EJB session bean.





In the JSP in the Java code should be as little as possible.

In the above example, JSP designers have to deal with and understand the mechanism of access to EJB. Place in a Mediator in the compression mechanism on the EJB and the EJB method as a Mediator of the way, you can use in JSP Mediator. Mediator usually prepared by the EJB designer. Mediator can provide additional value, such as attribute caching, etc..

JSP scriptlet code must be minimized. If you want to direct requests for JSP EJB may have to write much code in the JSP, including the try ... catch block to operate other functions.

Using a standard JavaBean as a JSP and EJB server as an intermediary can reduce the Java code in JSP in the number and increase reusability. This must be a JavaBean to access the EJB you coverage (wrapper).

If you use the standard JavaBean, you can use JSP: useBean tag to initialize EJB parameters, such as the server URL and server

Security parameters.

Custom tags can also be an option. However, this requires more than a simple JavaBean wrapper coding.

This must be re-written the code as small as possible and as light as possible to ensure the contents of JSP scripts (light). These are JSP and EJB interaction







Recommended links:



Only store is not Enough



Store goods Without manually



Dell Digital denial distribution Relationship with HP induced breakdown



Manufacturing Integration Trend Manufacturing And EMS Has Approaching



Casino And Gambling Shop



Science - Screen SAVERS Directory



How to end special promotions?



NavInfo SAIC Roewe help promote the car navigation



PICKED Recreation



FLV To IPod



H.264 To AVI



buy jbl bookshelf speakers



Comparison Of CMM And CMMI



Best Astronomy



MTS to MP4



Effective process improvement method must CONTAIN the elements



Sunday, October 10, 2010

Jobs sick industry concerns raised



Beijing on Jan. 15, "Business Week" article pointed out that although Apple's Steve Jobs is sick of the business will function, but no one can replace Steve Jobs on Apple's role.

In 2004, Apple CEO Steve Jobs finished to return to work after pancreatic cancer surgery, when Business Week asked in an interview in his role on how much Apple's problem. He jokes that he is in charge of Apple's porter, and then the serious and said: "Ultimately, Apple needs some cohesion to people together. Otherwise, you only get a lot of fragmented technologies, but could not integrate them."

The question now is, Apple could lose this cohesiveness. January 14, 53, Jobs said he will be suspended until June for medical treatment. He said in a public statement: "My health problems than I originally thought to be more complex." After the news release, Apple's stock immediately plummeted within minutes of 10%.

Investors worry that Jobs may never come back, but lack the Jobs of Apple will certainly not be the original apples. Jobs left Apple in 1985 until 1996, when Apple returned to the company near bankruptcy. Forrester Research analyst James LMcQuivey proposed: "missing the magic of Steve Jobs, Apple going to do?"

For Apple, Jobs has a great role. He is a perfectionist, it is in his leadership, Apple was developing so many elegant and refined products. He is standing in the forefront of mainstream advertising marketing genius. He is a master of speech, always able to attract public attention to Apple's latest product up.

Jobs through the management of regular meetings every Monday to play its far-reaching influence. In the other executives with the help of Apple's everything be decided by him alone, whether to enter new markets, or the latest retail store what color wall brush, micromanager that he will personally make decisions.

For Apple, Steve Jobs may be his greatest value to employees and outside influence. Only Steve Jobs can lead Apple has 32,000 employees in this large enterprise resolutely offensive has new business and re-write the rules of competition in those markets. While the mobile phone industry competitors have launched dozens of products to meet all consumer demand, and he led Apple just introduced a product iPhoee this, but now this phone has been occupied in the smart phone market is large share. He also persuaded AT & T and other wireless carriers to give up on the iPhone, the control of pre-installed software, so Apple have the opportunity to release a new iPhone applications.

In the personal computer business, Jobs and resolutely not the same as other manufacturers with the industry price war, but rather to focus on the quality of products, so Apple just made up profit margins and market share simultaneously good results. Jobs said that this strategy mainly from his use of personal computers for many years of experience gained. He said in an interview: "Look me lucky ah, I, together with the computer industry has grown up. Just emerging in the computer industry, I have done every job, sweeping the board, purchase chips, you can say out work I have done. I use my hands to assemble the computer. "

Apple's Steve Jobs will temporarily to the daily management of the highly respected chief operating officer Tim Cook. Investors peace of mind that while Jobs select the sick, Apple has been doing for the future development of various preparations. But Apple certainly can not rely on existing products to eat a lifetime. Forrester's McQuivey said: "People can not help but think that Apple is still the future to develop innovative products?"







Recommended links:



Golden Abacus settled in Wuhan air "Gold Dealer"



I Think The JSP Problem (on)



RECOMMEND Graphic



Dealers Have To Learn To Make Money, "Pong" Manufacturers That Moneybags



Easy to use Terminal And Telnet Clients



ASF converter



PhotoShop New Tricks: Paintings In Paintings



PS produced with Small fine pixel button



VOB to Zune



Flash5 ActionScript Advanced Programming Guide (8)



VOB to MPG



windows 7 hidden gems



Non-fiction list: set list "fashion" and "elegant"



Experts say too early to LOWER domestic oil prices