Monday, October 25, 2010

Servlet API's gluten strength



In the September 26, 2005, Sun introduced the latest version of Servlet API: Servlet2.5. The Servlet API and the previous Servlet is very different. The biggest difference is Servlet2.5 is based solely on J2SE5.0 of. Therefore, it naturally has all the characteristics of the J2SE5.0. Servlet2.5 use J2SE5.0 the configuration of the comment features make it easier. However, in 2005 J2SE5.0 introduced not long ago, the Web server to support J2SE5.0 not many, it was Servlet2.5 in use and did not immediately popular. Two years later, Sun has introduced the Servlet based J2SE5.0 the second version of 3.0 (that is JSR-315). In this version added a lot of interesting features. Such as programmable login logout configuration through annotations, asynchronous communication. Let us look at Servet3.0 following main features.

A more flexible Web Framework

Now almost all Java-based Web frameworks are built on top of the Servlet. Most Web frameworks are by Servlets or web.xml to configure and released. The newly added annotation features J2SE provides us with a better choice. We can use annotation to set Servlets, Listeners, filters and so on. But the comment is written directly in the program and can not dynamically change the configuration, therefore, JSR also provides two ways to operate Servlet. This Web application will have more flexibility.

2, EOD support

Servlet3.0 will use a variety of techniques to enhance the capacity of API. Such as the type of use Note to declare the program. This will be one of the goals EOD: make Web program zero configuration. In other words we will use the release to cover the traditional description of the configuration of the article. There is the generic application, will greatly enhance the process of Servlet's expression. J2SE version of the will in the future by adding the ability to support other languages, it also helps increase the strength of Servlet API itself.

Third, support for asynchronous communication

Servlet3.0 asynchronous communication support the following features:

1. Nonblocking (Non-blocking) input: the use of such input, the data for some reason can not yet arrived when the program will not be blocked.

2. Non-blocking output: and non-blocking input similar to that when writing data due to network problems and slow process will not be blocked.

3. Delay request processing: in AJAXWeb client program can send asynchronous requests to the server until the timeout or event returns to handle the request. Delay request is also very useful in other areas, such as processing of data before we have to get some resources, but these resources are in remote networks, but the speed is not fast. This requires asynchronous to deal with this situation.

4. Obstruction - non-blocking notification: This function is to inform the information into blocking or non-blocking events. Then extracted by the client is responsible.

5. Support channel: channel is JDK1.4 and above to provide a new communication API. Channel can be better used for network communication. Can also enhance the creation, subscription, cancellation and other security operations.

6. Security: support for logon and log off function.

7. Other features

(1) support the Welcome screen.

(2) ServletContentListener sort.

(3) initialize the size of the container can be customized.

(4) can monitor the file upload process.

The above is only a part of properties Servlet3.0. These features can be seen from, Servlet API does have a lot of flying, in addition to Servlet, EJB3.0 also use the new features J2SE5.0 rebirth. Perhaps in the near future Servlet3.0 and EJB3.0 will become the new combination, in the J2EE application plays an important role, let us wait and see!







Recommended links:



MP4 to 3GP



Wave of mergers BI have a happy life



Server Applications Report



Used To Create Automatic Play Music Listening Pros CD



Ten controversial figure in 2007



e-cology in the Pan Micro Series 68



Aspect-oriented (AOP) and OBJECT-ORIENTED (OOP) [1]



3GPP Converter



Taobao Changing Faces: Jack Ma Strikes Back



MP4 to Flash



12 large companies in 2007-2008 compared the welfare state



Good Graphic



supply chain scm What are the specific



18 comments:

  1. While security compromises from mobile phones have been small
    in scale, and mostly isolated incidents,
    Komisnky believes that cell phones dangle attractive lures for hackers along three vectors--As mobile messaging
    becomes ubiquitous and malware authors propagate poisonous code in links;
    as mobile phone commerce takes off, and as the mobile Web becomes easier to surf from devices like
    the iPhone. About $3 of every $5 went toward instant scratch-off tickets.

    http://www.hiarabs.com/index.php?do=/profile-1419/info/ But like the rattlesnake on the flag, we have
    rattled and warned the new world order. Now it is time to strike and take
    our nation back." LightsOutSo many teens and tweens do not get enough sleep so I believe in cutting off cell phone use at least one half hour before bedtime to enable quiet time and avoid any last minute skirmishes.
    my site :: cell phone number lookup

    ReplyDelete
  2. How may you make use of a custom blog design if you are using
    ftp publishing for your blogger blog?.. How can i install the style?
    .

    my website - transvaginalmeshlawsuit.designsbydel.com
    My web blog :: transvaginalmeshlawsuit

    ReplyDelete
  3. Computer telephony integration CTI allows call
    center agents, technical support representatives and salespeople
    to use their computer to place phone calls and automatically lookup customer records for inbound and outbound calls.

    When used this way, customer contact management software automatically creates call records, making it easy for every employee to log
    their sales activities and record the status of each contact called.
    If you get one of these bills, Sprint said to
    call the 800 number on the invoice. Make sure you have all of your paperwork in order
    before calling, and take notes in case the call doesn't resolve the problem to your satisfaction some people online reported problems. http://tinyurl.com/amtx2ln Multitasking with Android PhoneOne good thing about the Android phone is that you can multitask without slowing the phone down as you use multiple apps at the same time. You can view three different apps at the same time on the Android phone. When you need to view more than one app on this phone, you would click on Applications first on your Android then you would press the Home. After you do this you will see the list of your downloaded apps. Nokia C2 Offers Classic Design at a Low PriceThis is a great, budget, feature phone that manages to pack in a decent range of functionality for the price. The screen is a weak spot, but the phone performs well for calls, web browsing and music playback. If you just want a simple and straightforward cell phone then the C2 should appeal.
    My web page Reverse number lookup

    ReplyDelete
  4. The Benefits Of Mulching Your Flower Bulbs Using
    Rubber Mulch Surfaces For Playgrounds

    Here is my page: Isu-ops.com
    My page - trees for sale milwaukee

    ReplyDelete
  5. How do I restore my computer to an earlier time once the "Restore" feature on my computer is just
    not working. We have tried more than a dozen times to bring back my computer and I keep getting the error message "computer wasn't able to be restored currently. No changes happen to be made. Try another date. " Try another date the
    same thing happens... All my own files were deleted from
    my computer and I want to get them back. Have no clue how this happened.
    Checked the bin and none of them are there. It really is as if they
    simply disappeared off my computer. Please help.
    Thanks!.

    Here is my website ... http://www.signmethods.com/blog/entry/your-outdoor-sign-is-your-business.html
    Here is my blog post : Paxil Lawyers

    ReplyDelete
  6. Hey There. I found your blog using msn. This is a really well written article.
    I will make sure to bookmark it and come back to read more of your useful information.
    Thanks for the post. I will certainly return.

    My web site ... Affordable dental Plans
    Also see my website :: tinyurl.com

    ReplyDelete
  7. It's in fact very complex in this active life to listen news on Television, therefore I only use world wide web for that purpose, and get the hottest information.

    Here is my website :: Guanches.Org

    ReplyDelete
  8. Hi it's me, I am also visiting this web page daily, this web site is truly nice and the users are genuinely sharing nice thoughts.

    my web page ... Price Of a root canal

    ReplyDelete
  9. Rubber Mulch The Best Playground Surface Material Leaf Mulch Creation

    Also visit my blog post :: trees for sale milwaukee

    ReplyDelete
  10. Great web site. A lot of helpful information here. I am sending it to some friends ans also sharing in delicious.

    And of course, thanks in your sweat!

    My weblog Root canal Symptoms
    my page - does a root canal hurt

    ReplyDelete
  11. Hey, I think your website might be having browser compatibility issues.
    When I look at your blog in Firefox, it looks fine but when opening
    in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up!
    Other then that, terrific blog!

    Here is my web site ... makanna.com

    ReplyDelete
  12. I don't know whether it's just me or if everybody else
    encountering issues with your blog. It looks like some of the text in your content are running off the screen.
    Can someone else please comment and let me know
    if this is happening to them too? This could be a problem with my web browser because
    I've had this happen previously. Appreciate it

    Feel free to visit my blog post cost of a root canall

    ReplyDelete
  13. What's up everyone, it's my first go to see
    at this web page, and piece of writing is truly fruitful designed for me, keep up posting such content.


    Feel free to surf to my page: http://Gprasad.net/link/8862

    ReplyDelete
  14. My brother recommended I might like this website. He was totally right.
    This post actually made my day. You can not imagine just how much time I had
    spent for this info! Thanks!

    Also visit my website :: www.imnashville.com

    ReplyDelete
  15. If you are going for finest contents like myself, simply go
    to see this web page daily for the reason that it presents quality contents, thanks

    Also visit my page; Root canal treatment

    ReplyDelete
  16. It's awesome designed for me to have a site, which is valuable for my experience. thanks admin

    Also visit my web blog - average cost Of braces

    ReplyDelete
  17. The way to Protect my Internet Articles using a Copyright?


    Look at my web site ... www.habasit.com.br

    ReplyDelete
  18. How soon do you think web crawler will pickup my blogs?


    Here is my web page ... http://www.breast-cream.net

    ReplyDelete