[javaee-spec users] Re: [jsr342-experts] Re: meet-up at JavaOne

From: arjan tijms <>
Date: Wed, 25 Sep 2013 23:43:20 +0200


On Tue, Sep 24, 2013 at 11:46 PM, Yoon Kyung Koo

> 1. CDI and EJB
> In the long term, the whole EJB features can be replaced by CDI.
> Currently, only the distributed (or remote) object model cannot be
> replaced by CDI.
> I think if Clustered or Distributed CDI bean is possible and can be
> standardized, then the old EJB model can be removed.

In this light it's maybe interesting to note that the spec lead Bill
Shannon has suggested moving away from the binary remote object model, and
exclusively using REST (JAX-RS) and SOAP (JAX-WS) instead. See

As I mentioned in that JIRA issue, I'd personally rather see a native high
performance and convenient/transparent distributed object model for Java to
Java solutions, and then have JAX-RS as an option for interoperability
between Java and non-Java solutions, or between less tightly coupled Java

Upgrading the remoting support of EJB is not worth it at this point
anymore, but I agree with Yoon that moving the component model to CDI
offers new opportunities to standardize a modern (native) interoperability

> 4. lambda support
> I didn't think much about the lambda support of Java EE 8 platform, but it
> would be a great challenge.

It would be a challenge indeed, but there are several opportunities
throughout the platform.

In JSF for example it would be ideal for several of the tree visiting APIs
or for running a (small) amount of code within its own scope. In OmniFaces
for example we have a utility method that would be perfectly suited for
lambdas that does exactly that (see

For event handling they would be great as well. In OmniFaces again we're
already using a lambda like construct for that, see e.g.

We're using this as follows now:

Events.addBeforePhaseListener(PROCESS_VALIDATIONS, new Callback.Void() {

public void invoke() {
if (Components.hasInvokedSubmit(parent)) {
Faces.setContextAttribute(IgnoreValidationFailed.class.getName(), true);


Such code will look much better when using lambdas. I think I would be
great to have such API taking lambdas readily available in Java EE.

Kind regards,
Arjan Tijms

> Have a great time, everyone.
> Regards,
> Yoon Kyung Koo (TmaxSoft)
> --
> --------------------
> Software Innovation Driver
> Researcher & Executive Director / WAS Lab / TmaxSoft R&D Center
> 2013. 9. 11., 4:30, Linda DeMichiel <> ۼ:
> Greetings,
> As requested, we've reserved a spot where we can meet up
> at JavaOne to talk about ideas for Java EE 8.
> We've reserved the Lombard room in Parc 55 on Wednesday Sept 25
> for a 2:30-4:30 meeting.
> While we're not limiting attendance to Expert Group members, the room
> itself is of limited size, so please let us know if you are planning
> to attend.
> We're expecting that the first item for the meeting will be to
> converge on the meeting agenda. As another item (possibly to get the
> ball rolling), we'd like to suggest that we discuss the wish-lists
> that were posted to the group earlier, namely:
> and
> thanks,
> -Linda