WebLogic Developer/Production Web Profile, Full Java EE 6 Platform - Chat Transcript and Slides from OTN Virtual Developer Day


NOTE: This entry contains outdated information. Please refer to oracle.com/weblogic for more up-to-date releases.

Oracle WebLogic team delivered a Virtual Developer Day highlighting the benefits of WebLogic to the developer community. The recent WebLogic 10.3.4 release supports some of the key Java EE 6 APIs (JSF 2.0, JPA 2, and JAX-RS 1.1) and a full Java EE 6 compliant server is coming with the next major release. I helped them deliver a Java EE 6 session and how these technologies fit in the upcoming WebLogic releases. In summary, three releases are slated for the next major release:

  • WebLogic Developer Web Profile
  • WebLogic Production Web Profile
  • WebLogic Full Java EE 6

More details about Java EE 6 and how WebLogic is planning to embrace them is available in a replay of the webinar available here. Please use the login/password used during registration.

If you are interested in using Java EE 6 today, then GlassFish provides Web Profile and Full Platform already!

More webinars coming to your timezone:

Feb 10, 9:30am UK Time / 10:30 am Central European Time
Feb 17, 9:30 India Time
Feb 24, 9:30am China Time

Register here!

UPDATE: A complete replay of the webinar is now available:

And a replay of other videos in this series is available here.

Here is the edited transcript from the session concluded earlier this week:

Question 67 JEE 6 is reducing in code, is that also offer higher performace compare to the previous one ? if yes, how many etter ? is there a sampe application that rebuit for comparison benchmark in speed ?
Answer 67 The code is certainly reduced, performance is really application dependent as there are no such requirements in the specifications. But typically application server vendors do provide better performance. Check your particular use case though. No such standard application exist for benchmarking.

Question 64 Thanks Arun. Good work. Looks like I need to explore "Web Profile" hands on :)
Answer 64 Please do and let us know your feedback.

Question 65 will we have this presentation for further reading?
Answer 65 Yes, will be made available in a "thank you" email post webinar.

Answer 66 Thank you very much for attending the session! The slides will be shared with you in a "thank you" email and a transcript of Q&A will be made available as well. Please stay engaged with us at OTN forums: http://forums.oracle.com/forums/forum.jspa?forumID=570

Question 63 Can we use CDI, Transaction management & Security on a non-JavaEE app? Like standalone apps?
Answer 63 CDI specification does not provide that capability but Weld (Reference Implementation of Weld) has some portable extensions that allow you to leverage that capability in non-Java EE, for example Java SE, environment.

Question 62 But doesn't the dev web profile lack JMS and full EJB features?
Answer 62 Right, but you can single server mode for full platform for development.

Question 61 Any plans to have a lighter weight dev profile for the full platform? It'd be nice to have something that strips out the unneeded management features, but keeps all the JEE features.
Answer 61 That's what is addressed by Developer Web Profile :-)

Question 58 Will there be less time between Java EE versions? My only concern is our big apps can't be migrated every year :-) Has Oracle a clear and public commitment to not break compatibility too early?
Answer 58 Java EE guarantees backwards compatibility but evolution of specs is important.

Question 60 Are there any customers who were "happily" able to move out of Spring to implement JEE6 : ) ?
Answer 60 Here is one sample: http://blogs.sun.com/stories/entry/egesa_engineering_avoids_framework_explosion

Question 59 Superb presentation - thanks, Arun!
Answer 59 thanks a lot, glad you liked it.

Question 57 while weblogic may be more advanced, after having played with it for a whle, I find it considerably more difficult to use than OC4J
Answer 57 Please provide more feedback on our OTN forums: http://forums.oracle.com/forums/forum.jspa?forumID=570

Question 56 Thanks Arun, it was nice & worthfull presentation
Answer 56 Glad you liked it.

Question 55 is there support for Java EE 6 in JDeveloper?
Answer 55 Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.

Question 54 Java EE6 annotation means configuration change implies more code changes = more build and deploye = more risk??
Answer 54 But quicker identification of errors because of lesser code.

Question 53 Can all of this question be bundled as zip after the session and downloaded by us ?
Answer 53 I'll post the entire transcript on blogs.sun.com/arungupta.

Question 51 Thanks nice presentation. So what's with the "Up next" videos from you tube: School Rumble, X-Men Evolution, and The Beatiful Life. Does this mean we need to get a life?
Answer 51 Hee hee ... having fun is important. Blame youtube for showing "Up Next" links :-)

Question 39 How do you manage transactions in restful webservices?
Answer 39 Here is an example of TX in RESTful web services: http://blog.jonudell.net/2007/05/24/restful-web-services/

Question 48 Hi Arun, I do not see any updates after question 35. Do you have any technical issues?
Answer 48 I've answered upto Question 47, still looking into answering your TX/REST question though.

Question 47 Are the Web Profiles part of the Standard JEE6 or only part of Weblogic Server?
Answer 47 Java EE 6 Web Profiles are standard defined by the Java EE 6 Expert Group and WebLogic Server will start supporting them later this year.

Question 21 Hi. We have a big enterprise app, J2EE 1.4, with lots of reads from Internet (Struts/JSP/JSTL), and huge updates from our intranet. We had to drop container-managed persistance because resource usage, used bean-managed instead. Which is the best path for migration to JEE 6? Any best practices or adv
Answer 21 J2EE 1.4 was many years ago, the spec and implementations have evolved a lot since then. I'd consider migrating to Java EE 6 using JPA 2/EclipseLink combination, or may be Coherence to better the performance.

Question 46 Where are the slides? I'm behind a firewall and can't see the Youtube video on the left.
Answer 46 It'll be communicated in "thanks for attending" email, please stay tuned.

Question 45 There is a slide that indicates that with JavaEE6 the amount of XML is reduced by 80 percent. But I guess that reduction is only on the amount of configuration XML that we are currently doing with JavaEE5 and that the savings in XML does not refer to XML being served by the applications.
Answer 45 If there is no XML in the application, then it is not served to the client :-) With annotations, no XML is generated on the fly.

Question 44 can more classes be added as needed to a web profile server?
Answer 44 Sure, as long as the basic web profile compliance is met.

Question 43 What are the options for developing workflows in EE6?
Answer 43 There are no JSRs as part of Java EE 6 that allows you to manage workflows today. But most of the vendors offer a product in that area.

Question 42 In a simple manner, how we can define advantages of JEE6?
Answer 42 Simpler to use, light-weight deployment, flexible, extensible.

Question 41 80ess XML, I guess you mean configuration XML, correct? Not XML transported say as part of web services.
Answer 41 Not sure I understand. Can you please restate ?

Question 40 On your Bean Validation slide you mention that validation is now shared among JSF and JPA. On your Email example it makes sense for JSF, but does that also mean that the email address is validated before being persisted by JPA?
Answer 40 yes, if that is the constraint specified then it'll be honored by both JSF & JPA. However JPA bean validation constraints can be managed using persistence.xml and you can even disable it if you prefer it that way.

Question 38 Is it xml descriptors lose thier visibility once annotations become standards?
Answer 38 XML descriptors override whatever is specified in annotations.

Question 36 Are Portlet API 2 (JSR 286) and WSRP 2 part of JEE 6 ?
Answer 36 Nope, they are not.

Question 31 The J2EE is compatible with the current OAF used in Oracle EBS R12? or I need development all the new requirements with J2EE and ADF?
Answer 31 Yes, it is. You still can use OAF. More details at: http://blogs.oracle.com/stevenChan/2008/04/new_whitepaper_ebusiness_suite.html

Question 37 Arun, are there best practices for migration an enterprise app from J2EE 1.4 to JEE 6?
Answer 37 Java EE requires backwards compatible so your J2EE 1.4 apps would work seamless on a Java EE 6 compliant container. Then start taking migrating in a piecemeal manner, start with Servlets to begin with, then EJBs. Mostly the refactoring is about deleting the existing code :-)

Question 35 why the removal of dependency on xml based descriptors proposed
Answer 35 To simplify the code, less XML less code is more easily maintainable.

Question 34 How we register FacesServlet for JSF without using Web.xml in JEE6
Answer 34 For that you do need web.xml. However Servlet 3.0 compliant containers can automatically register FacesServlet (using Servlet dynamic registration APIs) for you by introspecting your WAR file and looking for any JSF 2 specific annotatins.

Question 33 Is supported a conversation scope in JEE6 Web profile?
Answer 33 @ConversationScope is a standard scope defined by CDI and is part of Java EE 6 web profile.

Question 32 I'm not following what Managed Beans do that EJBs don't -- you already mentioned EJBs have features around security that MBs don't. Why use MB?
Answer 32 Start small, and then scale when you need to . ManagedBeans are light-weight EJBs but you need to create your own interceptors for all the functionality. EJBs provide declarative security, TX, etc by just using an annotation. You can start with ManagedBeans to begin with and then migrate to EJB by changing @ManagedBean -> @Stateless.

Question 30 What are the best use cases for managed beans? are these container managed objects?
Answer 30 ManagedBeans are light-weight EJBs but you need to create your own interceptors for all the functionality. EJBs provide declarative security, TX, etc by just using an annotation. You can start with ManagedBeans to begin with and then migrate to EJB by changing @ManagedBean -> @Stateless.

Question 28 How does JSF configured in Java EE6?
Answer 28 JSF implementation is included as part of Java EE 6 so there is no explicit configuration required. You do need to register FacesServlet for rendering your .xhtml pages though.

Question 29 Is the Schedule annotation standard or does it work only for WLS?
Answer 29 @Schedule is a standard annotation and is part of EJB 3.1. It'll be supported by WebLogic Web Profile.

Question 26 Arun, can I download the presentation?
Answer 26 There will be links available after the webinar is over.

Question 27 Why do we need a EAR file if everything is packaged in WAR
Answer 27 You may need EAR for modular applications where you do have multiple beans.jar files and they need to be accessed from different Servlets etc.

Question 25 And what are suitable IDEs for JEE 6
Answer 25 NetBeans, Eclipse, and IntelliJ provide Java EE 6 development. NetBeans is by far the best one with all the wizards etc pretty robust. Eclipse is pretty good too and IntelliJ support is pretty basic.

Question 24 Will web.xml file will be still be used in J2EE deployment
Answer 24 It becomes optional for most of the common cases, but you can still use it if you prefer that way. web.xml anyway overrides the annotations in the class files.

Question 23 what are the supported application server for JEE 6
Answer 23 Today, GlassFish, TmaxSoft, and JBoss (Web Profile only). And WebLogic has some pieces of Java EE 6 (JPA, JSF, JAX-RS).

Question 22 Can I use managed beans to replace EJB's?
Answer 22 Yes, you can. But with managed beans, you'll have to write your own Interceptors for security, transactions etc though.

Question 20 Does web.xml descriptor file goes away altogether with JavaEE6?
Answer 20 web.xml becomes optional for most of the common cases. However you can still use it if you want to.

Question 19 i'm an professional without employment, so how can Oracle help me to get an Java certification?
Answer 19 Please look at http://education.oracle.com for more details.

Question 15 where do we find the blog url?
Answer 15 Blog URL for WebLogic server is: http://blogs.oracle.com/WebLogicServer/

Question 12 Isnt GlassFish better equipped for JEE6 and Free? So for small to medium size applications, what is the argument for WebLogic?
Answer 12 If you need an open source Java EE 6 implementation today, then GlassFish is the answer. WebLogic provides a much tighter integration with Coherence, Database, provide extensive clustering etc.

Question 18 When will jDeveloper support Jave EE 6?
Answer 18 Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.

Question 17 What about Jdeveloper is it as good as the Netbeans?
Answer 17 JDeveloper is good for ADF type applications with a tighter integration with your application stack. But if you are interested in Java EE 6, then NetBeans is your answer today.

Question 11 Can it be used for J2EE 6 development
Answer 11 JDeveloper cannot be used for Java EE 6 development today. Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.

Question 14 Exist any relation between JEE 6 and OSGI ?
Answer 14 Nope, Java EE 6 define application programming model. OSGi defines modularity and class loading mechanism. There will be some alignment coming in Java EE 7 though.

Question 8 Where do I learn more about EL 2.2?
Answer 8 EL 2.2 spec (http://jcp.org/aboutJava/communityprocess/mrel/jsr245/index.html) is a good place to start. There are several documents available. You can also take a look at Java EE 5 tutorial: http://download.oracle.com/javaee/5/tutorial/doc/

Question 4 hi,i am a student in tunisia and i would like to know why oracle don't offer partnet student and free certification for student, i love very much java and sql but i can't be certified with high cotst that oracle impose?
Answer 4 Please provide your email id and I can follow up with the requisite folks here @ Oracle.

Question 5 Is there an associated lab for this session?
Answer 5 There are no labs available yet and we'll create ones as we get closer to the product release.

Question 7 How about Jdeveloper
Answer 7 JDeveloper does not support Java EE 6 development today. Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.

Question 6 What are all the IDE's ready for Java EE 6 development?
Answer 6 NetBeans, Eclipse, and IntelliJ provide Java EE 6 development. NetBeans is by far the best one with all the wizards etc pretty robust. Eclipse is pretty good too and IntelliJ support is pretty basic.

Question 3 Is Java EE 6 fully supported by WLS 10.3.4?
Answer 3 WLS 10.3.4 has support for JSF 2.0, JPA 2.0, and JAX-RS 1.1. Full compliance with Java EE 6 (including Web Profile) is coming later this year.

Answer 1 Hello all, welcome to "Exploring Java EE 6 and WebLogic" and we are ready to accept your questions.


NOTE: This entry contains outdated information. Please refer to oracle.com/weblogic for more up-to-date releases.

Technorati: conf weblogic otn webinar javaee6

Comments:

Post a Comment:
Comments are closed for this entry.
About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today