JSR 299 and JSR 330 in Glassfish v3

Source: Internet
Author: User
Tags glassfish

In the last month we introduced Java EE 6 will include JSR330 and JSR299. Roger Kitain wrote a blog post about how to use JCDI in Glassfish (JSR 299, Ex-webbeans). In the article, he describes how to use JSR 299/JSR 330 to encode with a JSF 2.0 guess number example. You will see some annotations that meet the JSR specification: @Inject, @Qualifier, @SessionScoped, @ApplicationScoped.

How do you want to try this example, I recommend that you use the NetBeans 6.8 M1 and the latest GlassFish V3 version (such as build Web 62) to create a Java EE 6 Web application and put the sample code into the application without additional steps 。

If you want to learn more about JSR 299/JSR 330, please follow this blog as well as Roger's blog.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.