_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Java EE 7 — what's new

17. 09. 2013 1 min read CORE SYSTEMSdevelopment
Java EE 7 — what's new

Java EE 7 is out and brings functionality we’ve been waiting for. WebSocket API, JSON Processing, Batch API and improvements in JPA 2.1.

WebSocket API (JSR 356)

Standard WebSocket support. Full-duplex communication — ideal for dashboards and notifications. Annotation-based API: @ServerEndpoint, @OnMessage. Real-time updates without polling.

JSON Processing (JSR 353)

Native JSON support — JsonObject, JsonArray, JsonParser. You don’t need Jackson or Gson. Streaming API for large documents.

Batch API (JSR 352)

What Spring Batch has done for years is now a standard. Chunk-oriented processing, retry, skip policies. An alternative to PL/SQL for nightly batch jobs.

JPA 2.1

Stored procedure support via the JPA API. Entity Graphs — declarative fetch strategies. Resolves LazyInitializationException more cleanly. Criteria API update/delete.

When we’ll migrate

GlassFish 4 and JBoss/WildFly 8. New projects from Q1 2014. Existing projects gradually — backward compatibility preserved.

Conclusion

Java EE 7 is a solid evolution. WebSocket, JSON Processing and the Batch API replace external libraries. JPA 2.1 Entity Graphs are a game changer.

java ee 7websocketjpabatch
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us