Java EE 6 Explanation

2,136
-1

Published on

This material explain the new feature of Java EE 6 for Japanese Developers.

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,136
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
44
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java EE 6 Explanation

  1. 1. Insert Picture Here> –
  2. 2. Copyright© 2011, Oracle. All rights reserved.
  3. 3. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  4. 4. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  5. 5. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  6. 6. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  7. 7. Copyright© 2011, Oracle. All rights reserved.
  8. 8. Photo by http://www.flickr.com/photos/namwizard/Copyright© 2011, Oracle. All rights reserved.
  9. 9. Photo by http://www.flickr.com/photos/namwizard/Copyright© 2011, Oracle. All rights reserved.
  10. 10. • • • •  Copyright© 2011, Oracle. All rights reserved.
  11. 11. • <web-fragment> ….<web-app> <web-app></web-fragment> <absolute-ordering> <name> </name> <name> </name> <absolute-ordering><web-fragment></web-app> </web-app> ….</web-fragment> Copyright© 2011, Oracle. All rights reserved.
  12. 12. •  •  •  Copyright© 2011, Oracle. All rights reserved.
  13. 13. • •  •  •  •  •  Photo by http://www.flickr.com/photos/tetsu_blink/ Copyright© 2011, Oracle. All rights reserved.
  14. 14. Copyright© 2011, Oracle. All rights reserved.
  15. 15. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  16. 16. Copyright© 2011, Oracle. All rights reserved.
  17. 17. Copyright© 2011, Oracle. All rights reserved.
  18. 18. http://yoshio3.com/2011/01/14/jsf20-new-with-facelets-template/ Copyright© 2011, Oracle. All rights reserved.
  19. 19. Copyright© 2011, Oracle. All rights reserved.
  20. 20. Copyright© 2011, Oracle. All rights reserved.
  21. 21. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  22. 22. • •  Copyright© 2011, Oracle. All rights reserved.
  23. 23. EJBContainer container =! EJBContainer.createEJBContainer();! Copyright© 2011, Oracle. All rights reserved.
  24. 24. public void testSayHello() {! EJBContainer container = EJBContainer.createEJBContainer();! try{! Hello hello = (Hello)container.getContext().lookup! ("java:global/classes/Hello");! System.out.println(hello.sayHello());! }catch(Exception e){! e.printStackTrace();! }}! Copyright© 2011, Oracle. All rights reserved.
  25. 25. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  26. 26. Copyright© 2011, Oracle. All rights reserved.
  27. 27. •  •  •  Copyright© 2011, Oracle. All rights reserved.
  28. 28. Copyright© 2011, Oracle. All rights reserved.
  29. 29. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  30. 30. Copyright© 2011, Oracle. All rights reserved.
  31. 31. •  •  •  •  •  • Copyright© 2011, Oracle. All rights reserved.
  32. 32. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  33. 33. • • • • •  Copyright© 2011, Oracle. All rights reserved.
  34. 34. import javax.servlet.annotation.InitParam; !import javax.servlet.annotation.WebServlet; !@WebServlet( name = "SimpleServlet", ! urlPatterns = {"/simple"}, ! initParams = { ! @InitParam(name = "param1", value = "value1"), ! @InitParam(name = "param2", value = "value2")! } ) !public class SimpleServlet { } Copyright© 2011, Oracle. All rights reserved.
  35. 35. import javax.faces.bean.ManagedBean;!!@ManagedBean(name="user")!@SessionScoped!public class UserBean {!    private String name="";!    private String password;!}! Copyright© 2011, Oracle. All rights reserved.
  36. 36. @Stateless!public class HelloBean {!    public String sayHello(){! return “Hello”;! }!}! Copyright© 2011, Oracle. All rights reserved.
  37. 37. Photo by :Copyright© 2011, Oracle. All rights reserved. http://www.flickr.com/photos/jay_weird_pictures/5557042089/
  38. 38. Copyright© 2011, Oracle. All rights reserved.
  39. 39. •  ServletJSPExpression Language Copyright© 2011, Oracle. All rights reserved.
  40. 40. Photo by http://www.flickr.com/photos/namwizard/Copyright© 2011, Oracle. All rights reserved.
  41. 41. • • •  Copyright© 2011, Oracle. All rights reserved.
  42. 42. Photo by http://www.flickr.com/photos/namwizard/Copyright© 2011, Oracle. All rights reserved.
  43. 43. •  • • •  • •  • •  Copyright© 2011, Oracle. All rights reserved.
  44. 44. •  •  •  •  •  • •  •  • • •  •  Copyright© 2011, Oracle. All rights reserved.
  45. 45. • • • • • •  Copyright© 2011, Oracle. All rights reserved.
  46. 46. •  •  •  •  •  •  •  •  Copyright© 2011, Oracle. All rights reserved.
  47. 47. • •  •  • •  • •  •  •  •  Copyright© 2011, Oracle. All rights reserved.
  48. 48. • • •  •  • •  •  •  • •  •  •  Copyright© 2011, Oracle. All rights reserved.
  49. 49. •  • •  •  •  •  •  •  •  Copyright© 2011, Oracle. All rights reserved.
  50. 50. Copyright© 2011, Oracle. All rights reserved.
  51. 51. • • • • • • • •  •  •  •  Copyright© 2011, Oracle. All rights reserved.
  52. 52. Photo by http://www.flickr.com/photos/namwizard/Copyright© 2011, Oracle. All rights reserved.
  53. 53. Copyright© 2011, Oracle. All rights reserved.
  54. 54. Copyright© 2011, Oracle. All rights reserved.
  55. 55. Copyright© 2011, Oracle. All rights reserved.
  56. 56. Copyright© 2011, Oracle. All rights reserved.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×