Directory

← Back

EclipseLink Container

Container over eclipseLink ORM interface.

Author

Rating

Popularity

<100

It seems that EclipseLink is terribly underrated, compared to Hibernate. It comes with much better session management architecture and, when properly used, is much faster than Hibernate, yet extremely simple to configure.

Our container now supports filtering and sorting by Vaddin Container API and additionally by Expression objects. It caches it's element's indexes to improve performance, as well as optimizes object fetching to maximize probability of EclipseLink's cache hits.

Moreover, it reads class meta data from EclipseLink engine, so persistence can be configured in whatever way you want (EclipseLink lets you do it by annotations, XML configuration, class descriptors, or any mix of above).

Package contains:

  • Container itself (Abstract + Implementation that use static class to access Session)
  • Interfaces and sample classes used to provide container with Session access
  • Application Servlet with code that preconfigures database access (sample setup code)

NOTE TO USERS: If You are using it, find a bug etc. - let us know on the forum.

Sample code

container = new AbstractEclipseLinkContainer() {
    @Override
    protected ClientSession acquireClientSession() {
        return EclipseLinkSessionBroker.acquireClientSession();
    }
};
container.setItemClass(Comment.class);
container.setExpression(builder.get("text").containsSubstringIgnoringCase("Vaadin"));
table = new Table("Comments:");
table.setContainerDataSource(container);
container = new EclipseLinkContainer(Comment.class);
container.setExpression(builder.get("text").containsSubstringIgnoringCase("Vaadin"));
table = new Table("Comments:");
table.setContainerDataSource(container);

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version published earlier on Vaadin forum added to Directory

Released
2010-03-31
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 6.0+
Browser
Browser Independent

EclipseLink Container - Vaadin Add-on Directory

Container over eclipseLink ORM interface. EclipseLink Container - Vaadin Add-on Directory
It seems that EclipseLink is terribly underrated, compared to Hibernate. It comes with much better session management architecture and, when properly used, is much faster than Hibernate, yet extremely simple to configure. Our container now supports filtering and sorting by Vaddin Container API and additionally by Expression objects. It caches it's element's indexes to improve performance, as well as optimizes object fetching to maximize probability of EclipseLink's cache hits. Moreover, it reads class meta data from EclipseLink engine, so persistence can be configured in whatever way you want (EclipseLink lets you do it by annotations, XML configuration, class descriptors, or any mix of above). Package contains: * Container itself (Abstract + Implementation that use static class to access Session) * Interfaces and sample classes used to provide container with Session access * Application Servlet with code that preconfigures database access (sample setup code) NOTE TO USERS: If You are using it, find a bug etc. - let us know on the forum.
Discussion Forum

EclipseLink Container version 2009-11-25
Version published earlier on Vaadin forum added to Directory

Online