Introducing Java EE7 – Chat Live

Compartimos el siguiente chat sobre Java EE7:


[ 06/12/13 10:30 AM] Edward_Burns: Hello, I’m Ed Burns, the spec lead for JSF 2.2.
[ 06/12/13 10:31 AM] Danny Coward: Hello everyone, I’m Danny Coward, spec lead for the Java API for WebSocket
[ 06/12/13 10:31 AM] Shing Wai Chan: Hello, I’m Shing Wai, the spec lead for Servlet 3.1.
[ 06/12/13 10:31 AM] Jonathan.Eenkhoorn: Hi, I would like to know the official tag descriptor for jsf:
[ 06/12/13 10:31 AM] Arun Gupta: Welcome to the chat session on Dynamic Scalable HTML5. Please ask your questions on anything on JSON Processing, WebSocket, JavaServer Faces, Expression Language, Servlet, and JAX-RS.
[ 06/12/13 10:31 AM] Jitendra Kotamraju: Hi, I am Jitendra Kotamraju, lead for JSON Processing
[ 06/12/13 10:32 AM] Kin-man Chung: Welcome. I am the spec lead for EL 3.0 and JSP. I’d be glad to answer questions on these technologies.
[ 06/12/13 10:32 AM] Ahmad.Alhaj Hussein: what the new thing in EL?
[ 06/12/13 10:32 AM] Kin-man Chung: There are lots of new stuff in EL 3.0. We made it easier to use, but at the same time more powerful and expressive. New features:1. support for stand-alone environment2. new operators3. pluggable custom type convertors4. expression evaluation listeners5. lambda expression6. collection support: construction and operations
[ 06/12/13 10:32 AM] Ahmad.Alhaj Hussein: Can I compine java script value with EL function?
[ 06/12/13 10:33 AM] Kin-man Chung: no. EL is not java script
[ 06/12/13 10:33 AM] Cynthia.Josephine: Hello sirs.. I m very new to this whole concept of Scalable, Dynamic HTML, please send documentation link for me to learn
[ 06/12/13 10:33 AM] Ahmad.Alhaj Hussein: I know
[ 06/12/13 10:33 AM] Nebrass.Lamouchi: Hello everyone; Please tell us about how the managed bean will be replaced ?
[ 06/12/13 10:34 AM] abdullah.sindhu: I have a question regarding async java script, websockets, rest and ejbs
[ 06/12/13 10:34 AM] Ahmad.Alhaj Hussein: but Is there any way to compine it as scriptless
[ 06/12/13 10:34 AM] David.Heffelfinger: How easy will it be to integrate websockets and JSF?
[ 06/12/13 10:34 AM] Arun Gupta: @ Cynthia.Josephine This theme provides support for building HTML5 applications. I recommend to learn the technologies involved by reading the Java EE 7 tutorial:
[ 06/12/13 10:34 AM] Jonathan.Eenkhoorn: is there any official documentation on the use of JSF2.2 attributes (jsf:id) instead of JSF elements (h:form)?
[ 06/12/13 10:34 AM] Cynthia.Josephine: thank you so much sir
[ 06/12/13 10:34 AM] Michael.Larsen: Are there any tutorials showing how to implement the new functionality of EL? if so, could you provide us with a URL?
[ 06/12/13 10:34 AM] Paul.Krill: There was no mention of EE 7 providing a foundation for future cloud improvements. Why the omission this morning?
[ 06/12/13 10:35 AM] Edward_Burns: abdullah.sindhu: JSF Managed beans were the first standard inversion of control and dependency injection in the Java platform, way back in times of Spring 1.0.
[ 06/12/13 10:35 AM] Edward_Burns: abdullah.sindhu: As such, they predate CDI by a long while.
[ 06/12/13 10:35 AM] abhishek.anne: Does EL gives better time performance over scriptlet?
[ 06/12/13 10:35 AM] Danny Coward: David, they both sit in the same web application layer, so there are a few ways to integrate them: either through sharing data in the same HTTPSession, sharing data in the ServletContext. Or some people will choose to link the two using an EJB in common
[ 06/12/13 10:35 AM] fer.hdez: Hi, I would like to know if a Websocket that has in JEE7 we need to keep alive with a pong??? or it never close until the server o client do this?
[ 06/12/13 10:35 AM] Peter.Pilgrim: Last year the Java EE 7 was refocused to HTML5 and any cloud ideas were postponed until EE 8
[ 06/12/13 10:35 AM] Edward_Burns: abdullah.sindhu: The community involvement from the JCP design of CDI makes it a much better choice than Spring if you have the ability to go with Java EE7.
[ 06/12/13 10:36 AM] John.Clingan: @Paul For Java EE 7 and cloud, a good place to go to is
[ 06/12/13 10:36 AM] abdullah.sindhu: yeah, my question is with so much client side code written these days in javascript frameworks, where does jsf stands
[ 06/12/13 10:36 AM] Edward_Burns: abdullah.sindhu: Therefore, everything you can do with JSF managed beans you can do with CDI, and a whole lot more.
[ 06/12/13 10:36 AM] Roberto.Gamarra: when can I start developing apps for production use with jee7 ?
[ 06/12/13 10:36 AM] Arun Gupta: @Paul.Krill: Cloud was dropped from Java EE 7, and will be considered for Java EE 8.
[ 06/12/13 10:36 AM] Kin-man Chung: @Ahmad.Alhaj Hussein EL are not compile into Java, yet. You can call Java methods.
[ 06/12/13 10:36 AM] Edward_Burns: abdullah.sindhu: Perhaps most importantly, the use of CDI removes any possible JSF coupling from your business logic. This enables easier testing, with JBoss Arquillian, perhaps.
[ 06/12/13 10:37 AM] Tomasz.Knyziak: Hello all :P
[ 06/12/13 10:37 AM] Peter.Pilgrim: A HTML5 Web Socket cannot be closed from both sides: client and server. The WebSocket do not need to be kept alive with a pong they are persistent
[ 06/12/13 10:37 AM] Esakki.Perumal: When we are developing the composite components in JSF, and if any component inside the composite UI, uses Javascript, where should we put..? as like the resources structure for css, do we have anything for Javascript?
[ 06/12/13 10:38 AM] abdullah.sindhu: the point is with js mvp frameworks, the client side code, and async communciation via websockets and REST, where does jsf fits
[ 06/12/13 10:38 AM] abdullah.sindhu: coz, there is less tendency on server side html
[ 06/12/13 10:38 AM] Danny Coward: Hi Fer – websockets stay alive as long as either end wants them to. Some browsers have a long timeout, and in the Java API for WebSOcket you can set a timeout.
[ 06/12/13 10:38 AM] abdullah.sindhu: vs js client side
[ 06/12/13 10:38 AM] Peter.Pilgrim: HTML5 Web can be closed from both sides, rather. The 1.0 spec really follows the JavaScript specification in the beta stuff that I tried 3 months ago.
[ 06/12/13 10:39 AM] Jonathan.Eenkhoorn: Is it possible to use pure html5 output from JSF2, without xhtml/xml?
[ 06/12/13 10:39 AM] Paul.Krill: the spec says EE 7 provides the foundation for future cloud improvements, with capabilities including resource definition metadata, improved security configuration and database schema definition. Is this still happening with EE 7?
[ 06/12/13 10:39 AM] Danny Coward: @Peter – hi there ! Yes either end of the WebSocket connection can close it at any time as well.
[ 06/12/13 10:39 AM] Tomasz.Knyziak: @Edward_Burns, you said anything we could do with ManagedBeans can be achieved with CDI. However, in EE6 you cannot use @Named for @ViewScoped beans, does EE7 / CDI 1.1 adrress that?
[ 06/12/13 10:39 AM] Linda_DeMichiel: @Paul.Krill Yes. Those features are in Java EE 7
[ 06/12/13 10:40 AM] Michał.Kudła: How JSF prevents CSRF?
[ 06/12/13 10:40 AM] Esakki.Perumal: Does this JPA version 2.1 support for the Cloud database like Bigdata or other databases?
[ 06/12/13 10:40 AM] Edward_Burns: Jonathan.Eenkhoorn: First, let me say the VDLDocs for JSF 2.2 are here: < >.
[ 06/12/13 10:40 AM] Paul.Krill: OK. I realize cloud is being addressed in EE 8 but the spec does list the aforementioned capabilities in EE7 as sort of setting the stage for future cloud enhancements
[ 06/12/13 10:40 AM] Thomas.Gelzhäuser: About the Passthrough-Attributes in JSF. I imagine that this will lead to heavily browser-client dependent code (at least until all browsers are fully HTML5 compliant). Is there any way to only use that feature when talking to selected clients?
[ 06/12/13 10:40 AM] Peter.Pilgrim: JPA (2.1) favours relational databases
[ 06/12/13 10:41 AM] Paola.Gonzalez: hablan e
[ 06/12/13 10:41 AM] JohnClingan: @Paul Some cloud features are there, like Permission Declarations, Default Resources, and JPA Schema Generation. We are looking into more cloud features for Java EE 8.
[ 06/12/13 10:41 AM] Jakub.Milkiewicz: Hi What is a relationship between servlet async support ans websocets. When/Why should i use one or another ?
[ 06/12/13 10:41 AM] Linda_DeMichiel: JPA 2.1 is targeted at object/relational mapping. Support for NoSQL databases is something we will be discussing going forward
[ 06/12/13 10:41 AM] Peter.Pilgrim: If you need big data then I think you try a direct API to that key value store or no sql for now.
[ 06/12/13 10:41 AM] abdullah.sindhu: websockets vs asynchronous (jms) webservices, what is preferred and why
[ 06/12/13 10:41 AM] Kin-man Chung: @Michael.Larsen: no EL turorial yet. You can download the RI source from and look at the junit tests. Lots of examples
[ 06/12/13 10:42 AM] Linda_DeMichiel: @Peter.Pilgrim The JPA implementations have started to explore how to support NoSQL via JPA. Have a look at EclipseLink
[ 06/12/13 10:42 AM] Shing Wai Chan: web socket is upgraded to a different protocol. Servlet async is still in HTTP protocol.
[ 06/12/13 10:42 AM] JohnClingan: @Paul “Infrastructure for cloud support -In Java EE 7 we expect to lay groundwork for enhancements to the platform for use in cloud environments in a future Java EE 8 release. Areas that we expect to address encompass some of those mentioned above, and include resource definition metadata, improved security configuration, and database schema generation. “
[ 06/12/13 10:42 AM] Danny Coward: Hi Abdulla: JMS is generally for enterprise-scope messaging. You get guarantees of delivery and a whole bunch of things like that. WebSockets is essentially (this year and probably next) for enhancing Web Sites with server push.
[ 06/12/13 10:42 AM] Ken.Anderson: So are there examples on how to make an authenticated web service call? Or just use HTTP/S?
[ 06/12/13 10:42 AM] Erik.Gonzalez: Does websockets are blocked or not bloked?
[ 06/12/13 10:43 AM] Danny Coward: So if you need to make a website interactive and push data out to browsers: use WebSockets, if you need to deliver messages inside your enterprise: use JMS
[ 06/12/13 10:43 AM] Matthew.Toso: How is the new FlowScope different than ConversationScope?
[ 06/12/13 10:43 AM] Jakub.Milkiewicz: ok, but since webscockets are widely adopted on client side (browsers, ios, safari) is there any particular reason to use Async ?
[ 06/12/13 10:43 AM] Peter.Pilgrim: @Paul yes the remaining parts EE 7 that look like provisioning were IMHO – JMS 2.0 @JMSMessageDefinition – where you can define JMS connection factory and JMS connection in servlet container
[ 06/12/13 10:43 AM] fer.hdez: same as Ken.Anderson ask
[ 06/12/13 10:43 AM] Santiago_PericasGeertsen: @Ken.Anderson: Authentication is via servlet API or secure transport. Next JAX-RS will investigate new annotations for that.
[ 06/12/13 10:44 AM] abdullah.sindhu: and do have must have to use ajax to receive messages on client side
[ 06/12/13 10:44 AM] Danny Coward: Hi Erik: WebSockets listen to messages asynchronously. But you can send messages in the Java WebSOcket API with a blocking API or with asyc modes as well
[ 06/12/13 10:44 AM] Harvey Nicolas.Tamayo Chaparro: the authentication is different in the Servlet API and the Portlet API?
[ 06/12/13 10:44 AM] Edward_Burns: Jonathan.Eenkhoorn: Regarding using pure HTML5: what gets rendered can be pure HTML5, but the authoring syntax must be the XML well formed HTML5 variant.
[ 06/12/13 10:44 AM] Shing Wai Chan: Async is for running long processing like querying a large table in a database
[ 06/12/13 10:44 AM] M Hemantha.Peeris: Hello I am new to Java Development, But having exprence in VB programming planning to convert large VB 6 application to Java. What is the best recommended UI technology to use with Java EE7.
[ 06/12/13 10:45 AM] Esakki.Perumal: Do we have core tags in JSF just to replace the JSTL tags? or still should they used together?
[ 06/12/13 10:45 AM] Edward_Burns: Michał.Kudła: How JSF prevents CSRF? We implement the OWASP guidelines as closely as possible. Specifically, we use tokens.
[ 06/12/13 10:45 AM] JohnClingan: @M Hemantha I recommend JSF due to its omponent-oriented development model.
[ 06/12/13 10:45 AM] Jakub.Milkiewicz: So for bi directional/realtime communication use websockets and forget about async. Am i right ?
[ 06/12/13 10:45 AM] Shing Wai Chan: Portlet API is not part of Java EE 7.
[ 06/12/13 10:45 AM] Danny Coward: Hi Jakub: you might use async sends in WebSocket if you are using the Client APIs in WebSOcket from a Swing or JavaFX application. Or if you have a large number of messages to send without tying up an application thread for some other reason
[ 06/12/13 10:46 AM] Danny Coward: @Jakub: if I understand your question: anytime you want to update browser clients asynchronously: use WebSockets
[ 06/12/13 10:46 AM] abdullah.sindhu: Another thing which I am not able to find an answer for, can a cdi bean supports an ejb transaction, if not then does it mean no one should use cdi injection indirectly or directly thro an ejb, it should only be ejbs injections ?
[ 06/12/13 10:46 AM] Peter.Pilgrim: Hi @Esakki – Does your VB application have client server architecture? A front end that talks to back end server. If Yes then Java EE 7 can help. Otherwise look at Java SE 7 for a standalone Java application with JavaFX for the user interface.
[ 06/12/13 10:47 AM] Edward_Burns: Michał.Kudła: How JSF prevents CSRF? We modify what must happen in the Restore View phase of the lifecycle, in section 2.2.1 of the spec.
[ 06/12/13 10:47 AM] JohnClingan: @abdulla Yes, CDI bean can support transactions using @Transactional annotation.
[ 06/12/13 10:47 AM] abdullah.sindhu: for jee 6 or jee 7
[ 06/12/13 10:47 AM] Jakub.Milkiewicz: Thx Dann y this is what i was asking. Any other case of using Servlet 3.0 except for querying large table ?
[ 06/12/13 10:47 AM] Shing Wai Chan: WebSockets and Async are different. The former is ugraded to a different protocol. The latter is still in HTTP.
[ 06/12/13 10:47 AM] Jakub.Milkiewicz: Serlvet 3.0 asing i meant
[ 06/12/13 10:47 AM] Arun Gupta: @oberto.Gamarra You can start deploying your applications on GlassFish 4, that is the only application server that supports Java EE 7 today.
[ 06/12/13 10:48 AM] JohnClingan: @abdulla For Java EE 7. Please see:
[ 06/12/13 10:48 AM] Linda_DeMichiel: @Abdullah For Java EE 7. In Java EE 6 however you could still write transactional interceptors yourself (using JTA UserTransaction).
[ 06/12/13 10:48 AM] Santiago_PericasGeertsen: Async is still request/response, unlike Web Sockets.
[ 06/12/13 10:48 AM] Erik.Gonzalez: if I would have a real time system, should I use websockets? for example financial systems
[ 06/12/13 10:48 AM] Michał.Kudła: Jakub.Milkiewicz – Android has no WebSocket :
[ 06/12/13 10:49 AM] Jitendra Kotamraju: @Jakub you could use servlet nio so that you don’t have a dedicated thread for reading/writing (say data is coming slowly and you don’t want a dedicated thread)
[ 06/12/13 10:49 AM] narayani.anand: when would you use Websockets?
[ 06/12/13 10:49 AM] Karim.LAHOUEGUE: Can we use JSF for cloud bases applications SAAS? althought it is stateful
[ 06/12/13 10:49 AM] Danny Coward: Erik: it mostly depends on your client application
[ 06/12/13 10:49 AM] Ken.Anderson: If I have a legacy ASP.NET application (not MVC) with VB.NET class libraries doing some business logic processing, and I want to migrate to a J2EE HTML 5 web-front end, how would you recommend replacing the front-end without touching the class libraries?
[ 06/12/13 10:49 AM] Shing Wai Chan: Besides querying large table, any time consuming process can use Servlet async.
[ 06/12/13 10:49 AM] Danny Coward: @Narayani: you would use websockets anytime you have a web application where you need to keep the data on the web pages your users are looking at fresh and up to date without having to force them to hit reload
[ 06/12/13 10:49 AM] Edward_Burns: Esakki.Perumal: Do we have core tags in JSF just to replace the JSTL tags? Yes, we’ve always had those. The JSF 2.2 VDLDoc is at < >.
[ 06/12/13 10:50 AM] Erik.Gonzalez: what is your advise? faces or some frameword javascript/ html5
[ 06/12/13 10:50 AM] Jitendra Kotamraju: @narayani you use websockets primarily from browser for full-duplex communication (low connection latency and less protocol overhead)
[ 06/12/13 10:50 AM] Arun Gupta: @Karim.LAHOUEGUE JSF 2.2 also has a stateless mode:
[ 06/12/13 10:50 AM] Santiago_PericasGeertsen: WebSockets are great for any collaboration-type application (games, screen sharing, etc.)
[ 06/12/13 10:50 AM] JohnClingan: @Karim Yes. Many of the the Oracle SaaS applcations are written using ADF, which is a JSF LIbrary.
[ 06/12/13 10:50 AM] Peter.Pilgrim: Web Socket 1.0 is better in the long term because the payload is cheaper and it uses both client and server resources more efficiently. Your financial customer need to upgrade from Internet Explorer 6 to a better browser though ;-) Your issue is really logistical me thinks
[ 06/12/13 10:50 AM] Jakub.Milkiewicz: @Jitendra Servlet nio ? Is it smth new in Servlets 3.1 ?
[ 06/12/13 10:50 AM] Yoshio.Terada: In the future version of WebSocket, could you support the multi thread operation? If I used the WebSocket with Concurrency Utilities for EE,java.lang.IllegalStateException: HeapBuffer has already been disposedat org.glassfish.grizzly.memory.HeapBuffer.checkDispose( Exception had occured. Actually I wrote the message send the code inside of the Multithread Task. It is very useful to use both Concurrency and WebSocket. So could you support the multi thread on WebSocket?
[ 06/12/13 10:51 AM] abdullah.sindhu: @Linda, thanks for answer, but as you transaction handling is tricky especially for n-user n-tier application and my problem is I don’t want to end up having unknown or difficult to find issues, my choice left is to use everything or all transaction services as ejbs and that might be heavy weight becuase of pooling etc.
[ 06/12/13 10:51 AM] Shing Wai Chan: Non blocking IO is new to Servlet 3.1
[ 06/12/13 10:51 AM] Edward_Burns: Karim.LAHOUEGUE: People have been using JSF on Google App Engine for a while. Now, whether or not you call that SAAS is another matter.
[ 06/12/13 10:52 AM] Yoshio.Terada: It was wrote on WebSocket SPEC “5.1 Threading Considerations” as “In all cases, the implementation must not invoke an endpoint instance with more than one thread per peer at a time. [WSC-5.1-2]“
[ 06/12/13 10:52 AM] Peter.Pilgrim: Java WebSecket 1.0 has a Asynchronous reader and writer for both client and server. I am not sure what you by multi-thread on web socket.
[ 06/12/13 10:53 AM] Danny Coward: Hi Yoshio – it depends what kind of concurrency: right now browsers websocket clients only consume one message at a time. But we will probably look at it for Java to Java WebSockets
[ 06/12/13 10:53 AM] Linda_DeMichiel: @Abdullah I wouldn’t say that EJBs were heavyweight anymore, but there is always a cost with remote access (if that is what you are doing). BTW, EJBs are a topic for the next hour’s chat, so stay tuned….
[ 06/12/13 10:53 AM] Erik.Gonzalez: f I would have a real time system, should I use websockets? with a lot of information, for example financial systems. What is your advice?
[ 06/12/13 10:53 AM] Yoshio.Terada: For example , public class SomeMyTask implements Runnable{ Session session; public SomeMyTask(Session session){ this.session = session; } @Override void run(){ // 何らかの処理を実施 // タスクの処理の最後に、WebSocket のクライアント・エンドポイント // に対してメッセージを配信 session.getBasicRemote().sendText(resultString); }}
[ 06/12/13 10:54 AM] Danny Coward: Hi Yoshio: yes that is because for WebSockets we decided to make it a single instance per connection model: it means that developers don’t need to worry about their WebSocket instances being called by two threads at once: makes for a much easier development model than, say, the servlet model
[ 06/12/13 10:54 AM] Santiago_PericasGeertsen: @Eric Yes, for a real time system, you should try WebSockets.
[ 06/12/13 10:54 AM] Yoshio.Terada: sorry by japanese message. I get rid of the it as folows.
[ 06/12/13 10:54 AM] JohnClingan: I believe Chrome on android has WebSocket supprt
[ 06/12/13 10:54 AM] Yoshio.Terada: public class SomeMyTask implements Runnable{   Session session;   public SomeMyTask(Session session){       this.session = session;   }     @Override     void run(){           session.getBasicRemote().sendText(resultString);     }}
[ 06/12/13 10:54 AM] Peter.Pilgrim: @Erik I think you look at WebSocket for the today and future
[ 06/12/13 10:54 AM] Jonathan.Eenkhoorn: Edward_Burns: thank you, the part about HTML5/XHTML in the authorizing/rendering part is clear to me. I followed your link to the VDL, but the part about attributes appears very summary. I’m looking for the kind of authoring syntax used at this example: The listing will not render because of the outdated tag descriptor, but is the concept the valid in JSF2.2 final? Or is the “jsf:id” part deprecated?
[ 06/12/13 10:55 AM] Danny Coward: yes Erik – use it any time you need to update your browser pages with realtime information like stiock quotes or financial information
[ 06/12/13 10:55 AM] abdullah.sindhu: @Linda, gr8, i will listening with a gr8 interest, I must say even after many 10+ years with java and jee I still struggle to find a scalable, distributed architecture, a singleton cdi like spring singletons were much simpler and my preferred choice because of simplicity and no threading issues
[ 06/12/13 10:55 AM] Manuel.Loayza: where could I find the linkt to attend this meeting?
[ 06/12/13 10:56 AM] Peter.Pilgrim: @Eric I think if you are hinting at streaming live prices on stock market quotes or some such then absolutely yes. It is going to be better than COMET or LONG POLLING which are techniques that could be described as degradible for customers who do not have modern web browsers
[ 06/12/13 10:56 AM] Danny Coward: Browsers that support WebSockets: Nearly all of them ! And those that don’t, coming soon:
[ 06/12/13 10:56 AM] Edward_Burns: Esakki.Perumal: Regarding where to put associated resources from a composite component: You have a lot of flexibility there.
[ 06/12/13 10:57 AM] Edward_Burns: Esakki.Perumal: You can put them in separate script files, or put them inline.
[ 06/12/13 10:57 AM] Danny Coward: With WebSockets you can reach desktops, laptops, tablets and smartphones…
[ 06/12/13 10:57 AM] Edward_Burns: Either way, they will get delivered to the client as required.
[ 06/12/13 10:58 AM] Edward_Burns: Jonathan.Eenkhoorn: The concept is 100% present in the final release.
[ 06/12/13 10:58 AM] abdullah.sindhu: Is there any plans in jEE era to support protocols such as HATEOS and ODATA on top of REST
[ 06/12/13 10:58 AM] Edward_Burns: That blog is a bit out of date, since it was from November 2012, Jonathan.Eenkhoorn.
[ 06/12/13 10:59 AM] Jonathan.Eenkhoorn: Edward_Burns: will there be any other official examples / snippets on this available in overseeable future?
[ 06/12/13 10:59 AM] Santiago_PericasGeertsen: @Abdullah: Check out the new Link class in JAX-RS 2.0 and related examples around HATEOAS
[ 06/12/13 10:59 AM] abdullah.sindhu: gr8, can anyone tell me where is the link to attend next session on ejbs
[ 06/12/13 10:59 AM] abdullah.sindhu: in this session
[ 06/12/13 10:59 AM] Erik.Gonzalez: what tecnology could I use with websockets to implement robust clients? java JSF, JQuery, Ajax, html5, or what is your advice?
[ 06/12/13 11:00 AM] Linda_DeMichiel: @Abdullah That session will be live in ~30 minutes
[ 06/12/13 11:00 AM] Edward_Burns: Jonathan.Eenkhoorn: The JavaEE tutorial < > should have the information you are looking for.
[ 06/12/13 11:01 AM] abdullah.sindhu: @Linda Oh, Ok, thanks so I am not missing anything right now just chat is active, I was wondering there may be parallel sessions going on
[ 06/12/13 11:01 AM] JohnClingan: @abdulla You can click on the JSR Overview Videos button.
[ 06/12/13 11:01 AM] Peter.Pilgrim: @Erik for the client side there is JQuery at the moment or plain old JavaScript programming – it really isn’t that hard.
[ 06/12/13 11:01 AM] Danny Coward: @Erik: what you need to look at it the Java WebSocket API which tells you want to put in your web application to WebSocket-ize it, and then you need to put some JavaScript in the Web Pages that will use it. CHeck out some of the Glassfish samples to get started
[ 06/12/13 11:01 AM] Arun Gupta: @Erik.Gonzalez Java EE 7 does not mandate any front-end technologies. We love if you use JSF but you can pretty much use any technology.
[ 06/12/13 11:01 AM] Jonathan.Eenkhoorn: Edward_Burns: I will search the tutorial to see if I overlooked this by accident, thanks for your time :)
[ 06/12/13 11:02 AM] Glen.Johnson: Will JSP technology reach an end of life in the near future?, It’s a very old technology and AFAIK most folks use JSF with Facelets these days to build dynamic web apps
[ 06/12/13 11:02 AM] Peter.Pilgrim: The question is about robust clients though – I dont know – a browser is near enough robust for 100000 people to use isn’t it so?
[ 06/12/13 11:02 AM] Edward_Burns: Tomasz.Knyziak: We address CDI and @ViewScoped by having a new FQCN for @ViewScoped that actually *is* a CDI scope.
[ 06/12/13 11:02 AM] JohnClingan: @Erik Samples are in the Java EE 7 SDK, which you can download here:
[ 06/12/13 11:03 AM] Kin-man Chung: @Glen Yea, JSP is winding down. But wel’ll continue to support it as long as there are users.
[ 06/12/13 11:03 AM] Joshua.Hoffman: Is there a way to map html 5 input or button to Bean methods
[ 06/12/13 11:03 AM] Edward_Burns: Tomasz.Knyziak:
[ 06/12/13 11:04 AM] Edward_Burns: Joshua.Hoffman: With JSF? Yes, this is what the HTML5 Friendly Markup feature is for.
[ 06/12/13 11:04 AM] Karim.LAHOUEGUE: Regarding the arrival of JRuby, Can we test a JSF app using Cucumber / Rspec?
[ 06/12/13 11:04 AM] Tomasz.Knyziak: Excellent, thank you very much!
[ 06/12/13 11:05 AM] Glen.Johnson: @Kin-man Chung Thanks for the feedback. Makes sense – I personally haven’t used JSP for a *very* long time :)
[ 06/12/13 11:05 AM] abdullah.sindhu: @UI JEE experts: On the UI side, the UI architects these days mandate to only use JS on client side using JS mvp, backbone and REST on server side, question is where does jsf fits then and the future of server side UI tier with the advent of client rich code with JS and JASON format
[ 06/12/13 11:05 AM] Edward_Burns: Karim.LAHOUEGUE: Thomas Sundberg is always going on about Cucumber to me. I’ll have to see if it can be used with JSF. I’ve not seen those two used together thus far.
[ 06/12/13 11:05 AM] Erik.Gonzalez: thanks for all
[ 06/12/13 11:07 AM] Peter.Pilgrim: ADVANCED QUESTION- In EJB 3.2 there is @Asynchronous annotation, in order to have a JAX-RS Server endpoint that was asynchronous one had to make it an EJB. Why did the specs not consider a JAX-RS /CDI @javax.annotation.Asynchronous for server methods.
[ 06/12/13 11:07 AM] Peter.Pilgrim: ?
[ 06/12/13 11:07 AM] Kin-man Chung: New in JSP: EL 3.0 support. Can use EL lambda expression and collection operators in JSP EL.
[ 06/12/13 11:08 AM] Michał.Kudła: HTML5 is not propper XML document – Is new JSF too?
[ 06/12/13 11:08 AM] Santiago_PericasGeertsen: @Peter: You mean @Asynchronous for JAX-RS async resources?
[ 06/12/13 11:08 AM] Peter.Pilgrim: Yes Santiago
[ 06/12/13 11:08 AM] Fei.Zhu: Do you think JSF framework will react much slowlyer than Spring MVC+jQuery|Dojo|ExtJS, with new Html5 tech introduced, as new JSF tag-handler, render-none-related-ui-component and render-related-ui-component is difficult to be created!?
[ 06/12/13 11:09 AM] Edward_Burns: abdullah.sindhu: My thinking is that JSF will continue to be for server side UI state with islands of client state for certain parts of the UI.
[ 06/12/13 11:09 AM] Yoshio.Terada: Dear Danny-san, does it measn that it is difficult to support it in the future version too?
[ 06/12/13 11:09 AM] Santiago_PericasGeertsen: @Asynchronous has a lot of implications. You can, and the spec shows, how to use @Asynchronous with EJBs and async resources. But, JAX-RS also runs in standalone mode (no full EE), so we needed something else.
[ 06/12/13 11:10 AM] Edward_Burns: Fei.Zhu: Your “slower” question is precisely why we introduced HTML5 passthrough elements.
[ 06/12/13 11:10 AM] Danny Coward: @Yoshio – sorry, I missed something: what do you think might be difficult to support ?
[ 06/12/13 11:10 AM] Edward_Burns: Fei.Zhu: We realize that it doesn’t make sense to wait for JSF component libraries to release HTML5 native versions of their offerings.
[ 06/12/13 11:11 AM] Peter.Pilgrim: Santiago – I wrote such and such in my book thanks ;-) I think there is a way around with a custom CDI annotation and also the EE 7 managed concurrency services – unfortunately I just not had the time to test my theory. ;-)
[ 06/12/13 11:11 AM] Edward_Burns: Fei.Zhu: So we make it possible to decorate HTML5 native markup with jsf attributes. This gives you the ability to declare the rendering entirely in HTML5 (and its attendent other parts) while having the server side value processing come from JSF.
[ 06/12/13 11:12 AM] Kin-man Chung: When java SE 8 is release, EL will be updated to support Java lambda expression directly. There would be minor differences, though
[ 06/12/13 11:12 AM] abdullah.sindhu: @Edward_Burns, then the architecture won’t make much sense because your components are in JS client side using JS stuff and communication is only via JAX-RS, with the mix of both, where do you go like how do you divide BL and Layers, you can either have client side components or server side, especially when stateless and transactions are the issue
[ 06/12/13 11:12 AM] Karim.LAHOUEGUE: Is an (HTML5 / JAX-RS / CDI+JPA )stack app more scalable than a classic one say (JSF/ EJB /JPA)?
[ 06/12/13 11:12 AM] Shing Wai Chan: In Servlet 3.1, besides non-blocking I and upgrade mechanism, there are some security enhancements, like deny uncovered http methods, any authenticated users, etc.
[ 06/12/13 11:12 AM] Jitendra Kotamraju: Java EE 7 also has support for JSON Processing. JAX-RS resources can use JSON objects as parameters and return types of resource methods
[ 06/12/13 11:13 AM] Yoshio.Terada: Dear @Danny-san I means that Change the spec from “In all cases, the implementation must not invoke an endpoint instance with more than one thread per peer at a time. [WSC-5.1-2] ” to multi thread invocation’s support.
[ 06/12/13 11:13 AM] abdullah.sindhu: @ Jitendra Kotamaraju: JAXB can convert JASON objects into java objects and vice versa in JEE-6 Jax-RS I have tried this
[ 06/12/13 11:14 AM] Fei.Zhu: Thank you all, I got it!
[ 06/12/13 11:14 AM] Danny Coward: @Yoshio: well in fact in the current version, if you want to write a WebSocket that is only instantiated once, and therefore manages all connections to it concurrently: you can ! You just have to create a ServerEndpoint.Configurator and override getEndpointInstance()
[ 06/12/13 11:15 AM] Peter.Pilgrim: @Karim scalability is more to with server load and depends on the application use of the platform and not necessarily the technology stack. Of course older EJB 2.x probably will not scale as much as CDI / EJB objects.
[ 06/12/13 11:15 AM] Jitendra Kotamraju: @abdullah That’s not a standard mapping (Java objects <–> JSON), though some implementations like Jersey support this.
[ 06/12/13 11:16 AM] abdullah.sindhu: @Jitendra yeah, have tried this with Jersey you are right
[ 06/12/13 11:16 AM] Jitendra Kotamraju: @abdullah That kind of standard mapping will be supported in EE 8
[ 06/12/13 11:16 AM] Prashant.Jha: Will this EE7 session be avaulable for download
[ 06/12/13 11:17 AM] abdullah.sindhu: I am also missing the links and chat informatin coming side by side on keynote addresses
[ 06/12/13 11:17 AM] JohnClingan: @Karim I don’t know if one would be better than the other. There are considerations that come into play, like where validation occurs.
[ 06/12/13 11:17 AM] Yoshio.Terada: Dear @Danny-san Thank you so much for your inforamtion. I will try your proposal. If I have some issue, could you advise me at that time again? Thank you so much !!
[ 06/12/13 11:18 AM] JohnClingan: @Karim EJB != CDI, so it isn’t a 1 for 1 replacement. Etc.
[ 06/12/13 11:18 AM] Danny Coward: of course Yoshio !
[ 06/12/13 11:18 AM] Karim.LAHOUEGUE: Will have acces to the videos of this awsome mass-event?
[ 06/12/13 11:18 AM] JohnClingan: @Karim Yes, you will be able to replay the videos. Just come back whenever you want to view them.
[ 06/12/13 11:19 AM] Edward_Burns: abdullah.sindhu: That’s a good question, regarding architecture. We are considering refactoring parts of JSF so they can be used outside of JSF, from JAX-RS, for example. The first such candidate is facelets. If you want to use Facelets just for its templating, not for its JSF components, for example.
[ 06/12/13 11:20 AM] Karim.LAHOUEGUE: Thanks john… Can we say that CDI is Spring the Standard EE way?
[ 06/12/13 11:21 AM] JohnClingan: @Karim You can say that CDI is DI the right way ;-)
[ 06/12/13 11:21 AM] JohnClingan: @Karim More seriously, CDI is type safe at its core.
[ 06/12/13 11:21 AM] Karim.LAHOUEGUE: Cool it like the way you said it
[ 06/12/13 11:21 AM] Edward_Burns: Karim.LAHOUEGUE: Is an (HTML5 / JAX-RS / CDI+JPA )stack app more scalable than a classic one say (JSF/ EJB /JPA)? Let me say it this way: is it easier to build something non-scalable with a classic stack? Probably yes, it is. But the classic stack has been shown to be extremely scalable as well.
[ 06/12/13 11:23 AM] abdullah.sindhu: I have a suggestion for JEE architects at Oracle: that to have a sample project based tutorial something like we used to have JEE4 era days, where there was duke bank application and that uses every single technology map it with right patterns and layers to make it clear where and why each techn e.g. JAX-WS or JAX-RS websockets etc can be used and should be used with proper arguments taken into account n-tiers and n-transactions with distribution and scalablity in mind
[ 06/12/13 11:23 AM] cesar.hernandez: JPA in J2EE7 is mature enough to be compared with more legacy ORM’s like Hibernate?
[ 06/12/13 11:23 AM] Arun Gupta: @Karim, think about CDI as the correct way … how about “C” for correct :-)
[ 06/12/13 11:24 AM] abdullah.sindhu: @cesar Hibernate is also JPA
[ 06/12/13 11:24 AM] Arun Gupta: We don’t have blueprints available right now, but you can take a look at Java EE 7 hands-on lab at
[ 06/12/13 11:24 AM] Tomasz.Knyziak: There’s one more thing that puzzles me with the whole HTML5/JAX-RS business. How does it fit into the security model? There are no sessions in REST, so how do we handle the security context if we use a fat client (backboneJS, let’s say) and JSF on the server side?
[ 06/12/13 11:24 AM] Peter.Pilgrim: @Karim in the olden day (2000- 2006) people were worried about pooling EJB stateless and session beans. Nowadays you need to worry about in any EE 7 (and EE 6 server) the application server can handle resource for you and it is what it is there to do.
[ 06/12/13 11:24 AM] Danny Coward: @Abdullah that’s an excellent suggestion, EE is a big complicated platform to understand
[ 06/12/13 11:24 AM] Linda_DeMichiel: @Cesar Well I certainly think so. However, Hibernate provides a compliant JPA implementation, so I wouldn’t exactly call it legacy
[ 06/12/13 11:25 AM] Peter.Pilgrim: Nowadays you do *not* need to know worry about pooling EJB session beans at all. Grammar
[ 06/12/13 11:25 AM] Karim.LAHOUEGUE: You guys are awosome thaks very much for your responses… Can’t wait to try all this and share with my JUG members
[ 06/12/13 11:26 AM] abdullah.sindhu: @Danny, especially with some much on, mind starts hurting when have to design JEE applications, it gets really tough to use right patterns and right technologies and also lack of experts (true experts), I have >10 years but still think don’t know much and there is no end to this
[ 06/12/13 11:26 AM] Santiago_PericasGeertsen: @Tomasz: Not sure I understand your question. If you use a thick client you’d want to use a thin server, so why would use JSF in that case?
[ 06/12/13 11:26 AM] JohnClingan: @Danny I wouldn’t characterize it big and complicated, I would call it feature rich. When you have lots of features, knowing where to start can be an issue. One could start with the Java EE 7 tutorial and perhaps stick to the Web Profile.
[ 06/12/13 11:26 AM] Danny Coward: Well, I think EE has come a long way in making things simplier and easier to use. But there are a lot of design choices for developers to make, and we could certainly look at how to make that much simpler
[ 06/12/13 11:27 AM] Tomasz.Knyziak: Sorry, my bad, I meant some kind of CDI / EJB combo, obviously not JSF.
[ 06/12/13 11:27 AM] JohnClingan: @Danny/abdullah – We could always make things easier for developers, and that is wher developer feedback is key. We’ve come along way since J2EE.
[ 06/12/13 11:27 AM] Danny Coward: @John You’re right of course. The EE tutorial and the Glassfish samples are a good start
[ 06/12/13 11:27 AM] Karim.LAHOUEGUE: Is there really boudaries between EE apps and cloud apps?
[ 06/12/13 11:28 AM] Tomasz.Knyziak: You can have i.e. @RolesAllowed on your EJB methods and if you want the security context to be carried from the client via REST, do you have to authenticate on every request?
[ 06/12/13 11:28 AM] JOSE.DIAZ: n my college classes we solved examples with spring framework. The learning curve was ultra high for them because they were not all java developers. Now we are with Java EE, students assimilate the concepts faster because they avoid such settings via xml. Congratulations on the good work.
[ 06/12/13 11:28 AM] JohnClingan: @Karim Java EE runs in many cloud environments today.
[ 06/12/13 11:28 AM] abdullah.sindhu: @JOHN, start is not a problem, problem is to identify right pattern with complex real world problems at hand and with so much there the guidance to use what to where is the problem
[ 06/12/13 11:29 AM] Santiago_PericasGeertsen: @Tomasz: JAX-RS runs on the servlet API on EE, and thus, sessions, etc. it’s all available to you. There are other authentication schemes that don’t need all this. Check out Jersey for alternatives.
[ 06/12/13 11:29 AM] Tomasz.Knyziak: I’ll do that, thank you!
[ 06/12/13 11:30 AM] Karim.LAHOUEGUE: Will this session end now?
[ 06/12/13 11:30 AM] Peter.Pilgrim: @abdullah start with the simplest possible design you can think of – for one single module and one single flow through systems. JPA is for persistence, EJB are remote or local transactional server side endpoints, CDI beans can also be service endpoints ; and how do you connect your client side to them? That answer will determine where to go next.
[ 06/12/13 11:30 AM] Jonathan.Eenkhoorn: Do you have any people actively watching stackoverflow for questions after these sessions today?
[ 06/12/13 11:30 AM] JohnClingan: That’s where Adam Bien’s books, for example, come to play
[ 06/12/13 11:30 AM] Joshua.Hoffman: @abdullah Adam Bien has great books on design patterns
[ 06/12/13 11:30 AM] JohnClingan: @Joshua Great minds think alike :-)
[ 06/12/13 11:30 AM] Patrick.Reinhart: Hi everybody, whow far is the state of the JAX-RS 2.0 client implementation?
[ 06/12/13 11:30 AM] abdullah.sindhu: I have read Adam Bien
[ 06/12/13 11:31 AM] abdullah.sindhu: It is gr8 but don’ have much on client side stuff
[ 06/12/13 11:31 AM] Arun Gupta: JAX-RS 2.0 client is fully implemented in GlassFish 4 and can be tried out there.
[ 06/12/13 11:31 AM] Edward_Burns: Thanks for your great questions!
[ 06/12/13 11:31 AM] Santiago_PericasGeertsen: @Patrick: 100%
[ 06/12/13 11:32 AM] Joshua.Hoffman: @abdullah Yes, there should be more on integrating with frameworks like angular
[ 06/12/13 11:32 AM] Aruna.patibandla: With Many enhancements in JSF, advanced features of CDI and many other enhancements in J2ee, any recommendation or suggestions, If we need frameworks like Spring in J2EE applications
[ 06/12/13 11:32 AM] JohnClingan: @abdullah Java EE is server side ;-) But your point is taken. We really want to think about how to improve client & server interop as we move forward.
[ 06/12/13 11:32 AM] Karim.LAHOUEGUE: thank you all.
[ 06/12/13 11:32 AM] Erik.Gonzalez: thank you all
[ 06/12/13 11:32 AM] abdullah.sindhu: Thank JohnClingan
[ 06/12/13 11:32 AM] Peter.Pilgrim: Thanks everybody
[ 06/12/13 11:32 AM] JohnClingan: Thanks everyone!
[ 06/12/13 11:32 AM] Edward_Burns: Please join the next chat, running now.
[ 06/12/13 11:32 AM] Santiago_PericasGeertsen: Thanks for attending!
[ 06/12/13 11:32 AM] abdullah.sindhu: I look forward to have good full patterns from client till server and database officially from oracle
[ 06/12/13 11:33 AM] Jitendra Kotamraju: Thanks for all the questions
[ 06/12/13 11:33 AM] Arun Gupta: Thanks a lot for asking your questions. Please join the next chat session on “Increasing Developer Productivity”.
[ 06/12/13 11:33 AM] Jonathan.Eenkhoorn: thanks for the support
[ 06/12/13 11:33 AM] Danny Coward: thanks for everyone’s questions ! Hope you like WebSockets !
[ 06/12/13 11:33 AM] Karim.LAHOUEGUE: we already do
[ 06/12/13 11:33 AM] JohnClingan: I’m “Moving along” to the next chat. Great questions. Please keep them coming in the other chats, online moving forward beyond today, etc.

Java EE 7 Launch

Hoy se inicio el lanzamiento de Java EE 7 (12 junio 2013). Compartimos el chat live que se termino hace unos minutos. Hasta que se publiquen los vídeos y links respectivos.

what was the link that Aaron mentioned to download javaee7 ?
You can download Java EE 7 SDK from

what the fishCAT?
FishCAT is Community Acceptance Testing for GlassFish. More details at

What are the changes in Java EE 7 ? provides all the details about whats new in Java EE 7.

Is there a Application Server that implements the Java EE 7 specification?
GlassFish Server 4.0 (

Can you start learning JEE7 without prior knowledge of JEE5 ?
Yes, you can definitely learn about Java EE 7 without knowledge of any prior platform knowledge.

what do you mean on – html5 is part of javaee7 ?
WebSocket, JSON parsing, and JSF 2.2 HTML5 pass-through attributes …and lot more part of HTML5 theme for Java EE 7.

where I can subscribe Java Magazine?

I have been asked by my coleagues if JavaEE7 APIs are available outside Glassfish, as jars e.g. tyrus
websocket API
Most of the APIs are available outside of GlassFish but some may require Java EE 7 container.

Is it possible to contribute individually???
Absolutely, join JCP, join an Expert Group, start contributing using FishCAT.

to what extent it is helpful to main frames
Java EE can interoperate with mainframes using JMS, JCA connectors offered by mainframe providers, and using any other network standard that both support (like Web Services, REST, etc).

how would i learn jave EE7 withouth any EE background?
Start reading Java EE 7 tutorial:

Which IDE supports JEE 7?
Please go to Today, that includes NetBeans 7.3.1. Eclipse Keplar is almost here. IntelliJ is working on support as well.

Netbeans is aready 100% alignn
ed if JavaEE7 ?
yes, NetBeans 7.3.1 provide full support for Java EE 7. Download from

As per Java EE 7, is JSP
No deprecated, but highly recommended to use JSF-based technologies.

Which is better Spring or Java EE 7?
Java EE 7, of course! LOL :-)

Will Websocket replace conventional ajax calls/SOAP ?
WebSockets is another way to interoperate. Ajax/SOAP does not go away.

Java EE 7 is supported by other App Servers like JBoss,WebLogic and WebSphere?
GlassFish is the first one to support, JBoss has already announced support, WebLogic stay tuned.

Any Java certifications available and how do you get certified?
Oracle University has courses. Education/

to upgrade an app from JEE6 to JEE7 what’s jars have to change?? in tomcat? or weblogic?
Nothing has to change an existing in that Java EE 7 is backwards compatible with the possible exception of pruned technologies (EJB 2.x CMP/TMP for example).

Are there any major changes related to JAAS?
not for Java EE 7.

Java EE7 made any improvement with the OSGi (better integration, support,…)?
No significant improvements with Java EE 7.

Wich websocket server was included in Glassfish 4?
WebSocket implementation is built using Tyrus and integrated in GlassFish 4. You don’t need an additional server for it.

Is there an equivalent to JAXB for JSON?
Not for this release, but will be considered for Java EE 8.

What happen with JCache?
JCache could not be included in Java EE 7, primarily because of scheduling constraints.

so is there a plan for a tool like JAXB for json?
Will be coming in a later release.

is HTML5 needs any third party tool to execute apps?
No need for any third-party libraries for WebSocket and JSON.

What’s new in J2EE for building real time game server ?
Java EE 7 introduces websockets, which offers lower latency and bi-directional communication. That’s a good start :-)

Anything new for JMS ?
Lots of new content in JMS, see the OTN articles and

Any improvement on Java memory leaks?
No specific work for memory leaks, those are done at the JDK layer.

The java websocket 1.0 is compatible with Realtime Framwork?
There was no specific effort to make that happen. Please try it and let us know.

hey I am new to java EE…learnt servlets,jsps so what should be next to learn??Help.
Begin with the Java EE 7 SDK. It will walk you through the various Java EE technologies and get you started. It includes tutorials, samples, API documentation, and GlassFish Server Open Source Edition 4.0:

are servlets,jsp specs changed in java EE 7?
Yes, please tune to Servlet 3.1 breakout session for more details.

Is there a tentative timeline for Java EE 7 certifications and exams publication?
June 2013

Are you thinking on making the GWT (google web toolkit) technology part of the J2EE? Or other web frameworks like Vaadin or any others?
No plans of making GWT as part of Java EE 7.

I remember java supports Json from before version 7. The speaker mentioned it supports Json from java ee 7. What is the matter?
JSR 353 (aka JSON-P) defines a standard way to do JSON Processing. So it is really the first time we have a *standard way* to process JSON in Java. JSR 353 is part of Java EE 7.

What about primefaces? It’s uses namespace “p” too…
You can always change the namespace prefix, “p” is a standard namespace prefix for JSF passthrough elements now.

this JSON api is Java native or this is build in some native jar ??
The JSON API is new to Java EE 7, and different java EE 7 appservers can use different JSON implementations. In addition, the API enables 3rd party JSON implementations to replace the default JSON implementation provided by the appserver

which JPA implementation is used in JEE
7 ?
How strong is Java EE7 comparing with another frameworks in another languages (like Ruby on Rails)?
This is the most comprehensive framework backed by all major Java vendors, built by community, and made to succeed.

Can JSF 1.2 in Java 6 be migrated to JSF2.2 or it’s better to redesign the app?
I recommend start migrating to JSF 2.2

what is a difference between servlet 3.0 ASYNc and websockets? Do they relate to each other ?
The Servlet API actually upgrades the protocol from HTTP connection to WebSocket connection. Servlet 3.0 is still HTTP, websockets allows the developer to create their own communication protocol.

I use openjdk6, Must I update to openjkd7?
You do need JDK 7 for running Java EE 7.

Default Connection Factory and data source… potential security holes?? Can other than default be used or can we adapt credentials?
Absolutely! Default resources are only to get you started.

where I can download Java EE 7 specs document?
You can get all the Java EE specifications from the JCP. The Java EE 7 specification is located at

Is there a reason that Glassfish 4.0 is using the JSF 2.2.0 version of JSF, rather than the latest snapshot of 2.2.1? How stable is 2.2.0 vs. 2.2.1?
JSF 2.2.0 is the released version with Java EE 7 and so is bundled with GlassFish 4.

Do you have Glassfish certification?
There is a GF 3 course, but not a certification. Lastest on Oracle Java certs here

Will Hibernate be availlable as an addon like in Glassfish 3?
We have not done any specific work on it.

Are oracle going to provide Enterprise support for Glashfish in the future?
Oracle already provides support for Oracle GlassFish Server 3.x today. As for Oracle GlassFish Server 4.x, please check out

What come new in JEE7 for mobile devlopement
Use WebSocket, JSON, and JAX-RS as your backend for mobile applications.

Is Html5 fully supported in JSF2.2? Do we still need to use xml/xhtml for writing our pages?
JSF 2.2 supports pass-through attributes to write cleaner HTML pages.

the Managed beans have been deprecated in Java EE 7?
The effort to deprecate them as started, highly recommended to use @Named.

wiil there be fix for websocket cdi scope (not in request) soon ?
This is already being discussed at different forums, not for this release though.

can you recommend a real book from Amazon for javaee?
There are three coming from Antonio Goncalves, Peter Pilgrim, and Josh Juneau. And I’ve one coming next month as well.

is learning portal ?
For Java EE, the links on this page will help:

If we currently work with spring 2.x and hibernate, Does it make sense to start thinking in migratin or redesignin our applicacitions to J2EE7 (CDI and JPA)???
Absolutely! No Spring is needed with Java EE 7.

Is there acomplete JAX-RS client for te verrsion 2.0 availale?
Yes, the JAX-RS client API has been standardized in JAX-RS 2.0.

Does JSF 2.2 support any themes, so that i dont have to integrate it with Richfaces or PrimeFaces
Look at Resource Library Contracts:

is there something similar to RestEasy ClientProxy in new JAX-RS?
No client proxy in JAX-RS 2.


I am learning Servlets,jsps currently..may I continue to watch?LOL.
Absolutely! In fact, watch it as many times as you’d like since replays will be available at same URL :-)

Using “p:” as the default prefix for Passthrough will cause problems for PrimeFaces users, Consider using pass: for this?
This is already locked in JSF 2.2, can’t change now.

Is it possible to migrate from an application VisualJSF-based to JSF 2.2 ?
Don’t know what is VisualJSF ? Is it JSF-based ?

To start developing, do I currently have only NetBeans for the IDE., Glassfish for the App server ?
Yes, you need Java EE 7 SDK and NetBeans or Eclipse.

When will the Java EE 7 Tutorial be available? Right now the link results in a 404 error.
The Java EE 7 Tutorial can be found at

Do you have any suggestion on self-learning book on JEE7 if there are any out there online or bookstore?
There are multiple books by different authors: Antonio Goncalves Peter Pilgrim Josh Junea Arun Gupta

To start developing, do I currently have only NetBeans for the IDE., Glassfish for the App server ?
Yes, you need Java EE 7 SDK and NetBeans or Eclipse.

how much we can develope android mobile app to send data to oracle database ? how can Java help in the same?
From a Java EE perspective, you can expose services using JAX-RS or WebSockets for example, and data that passes between Java EE and mobile client can originate from, or be stored in, a database.

What key advantages would have to to the migration from springandHibernate to J2EE CDIandJPA completel
I always prefer a standards-based approach.

is there any news about JAX-WS API in jee7 ?
No new updates in Java EE 7 for JAX-WS. But look for WebServices for Metadata:

The demo is made using Netbean
s, is that mean that Eclipse didn’t yet support JEE7?
Eclipse support is coming (Keplar in particular): You can download non-final builds today!

Any timeframe when Weblogic will support JEE 7?
Stay tuned for the timelines.

Which version of ADF Framework will be using JavaEE 7?
Sta tuned on timelines.

Any User Interface for Schdeuling the Jobs using Quartz Scheduler
None in this release.

will A. Gupta write a pocket guide for Java EE 7 as for Java EE6? which was great by the way.
Yes, coming later next month.

Is JavaEE supports dependency injection?
Yes, Java EE 5 began to introduce dependency injection with @Resource for example. This was expanded with the more generic @Inject in Java EE 6, and more dependency injection in Java E 7.

I remember java supports Json from before version 7. The speaker mentioned it supports Json from java ee 7. What is the matter?
JSR 353 (aka JSON-P) defines a standard way to do JSON Processing. So it is really the first time we have a *standard way* to process JSON in Java. JSR 353 is part of Java EE 7.