100% found this document useful (1 vote)
265 views21 pages

Java2Days Conference Overview

Overview of Java2Days conference held in Sofia, Bulgaria as seen by visiting members of JavaSvet, a Serbian JUG.

Uploaded by

JavaSvet
Copyright
© Attribution Non-Commercial ShareAlike (BY-NC-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
265 views21 pages

Java2Days Conference Overview

Overview of Java2Days conference held in Sofia, Bulgaria as seen by visiting members of JavaSvet, a Serbian JUG.

Uploaded by

JavaSvet
Copyright
© Attribution Non-Commercial ShareAlike (BY-NC-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JavaSvet open java community

Java2Days Conference
Expo Center, 8-9. October 2009, Sofia, Bulgaria

Authors: Igor Popov, Vuk Nikolić

http://javasvet.rs – [email protected]
JavaSvet open java community

About JavaSvet
• Serbian Java User Group – JUG
 Open Java Community
 Organizing Java events, lectures
 Connecting Java people and industry
• Future plans
 Enterprise Java lectures for students
 Creating Java jobs market
 Organizing Java conference

http://javasvet.rs – [email protected]
JavaSvet open java community
Java2Days Conference
• Sofia, Bulgaria, Inter Expo Center
• 400 developers, 25 topics, 18
speakers, lot of coffee...
• Speakers from JavaOne, The
ServerSide Java Symposium, Jazoon
• JUGs from Macedonia, Greece,
France, Serbia and Bulgaria

http://javasvet.rs – [email protected]
JavaSvet open java community
Conference Main Topics
• Java Enterprise Edition 6
• Web Frameworks
• Clouds and Clusters

http://javasvet.rs – [email protected]
JavaSvet open java community
Java Enterprise Edition 6
• Lectures
• Java EE 6 Preview
• EJB 3.1 Preview
• Relational Perspectives for Optimizing JPA
• Get real with Java EE 6 – GlassFish v3 is
swimming your way
• Relational Perspectives for Optimizing JPA
• Is my J2EE/JavaEE application portable?
Should I care?

http://javasvet.rs – [email protected]
JavaSvet open java community

EJB 3.1 (1/2)


• Asynchronous methods - @Asynchronous,
Future<T>
• Optional interfaces for local EJBs
• Optional web.xml - @WebServlet,
@WebFilter
• Singleton beans - @PostConstruct,
@PreDestroy, @ConcurrencyAttribute
• Cron-like Timers - @Schedule
• EJB extensibility by 3rd parties

http://javasvet.rs – [email protected]
JavaSvet open java community

EJB 3.1 (2/2)


• Simplified WAR packaging
• EJBs in WAR, no need for EAR
• EJB 3 embeddable containers on Java SE
• Unit testing @RunWith(EJBTestRunner.class)
• EJB 3.1 Lite
• no legacy and heavy modules
• Standardized global JNDI names
• WebBeans container
• web components, injection, intercepters

http://javasvet.rs – [email protected]
JavaSvet open java community

EJB Lite vs EJB


• Removed in EJB 3.1 Lite
• Message driven beans
• Remote interfaces
• Web service interfaces
• Asynchronous invocation
• Timer service
• EJB 2.x support
• CORBA interoperability

http://javasvet.rs – [email protected]
JavaSvet open java community

GlassFish v3
• Java EE 6 Reference Implementation
• Update Center
• OSGi modular architecture
• Apache Felix core
• GlassFish Hundred Kilobytes Kernel - HK2
• Live module swapping
• GlassFish profiles – Web, Full...
• Session preservation on redeploy
• GlassFish embedded
• Extending GlassFish

http://javasvet.rs – [email protected]
JavaSvet open java community
Java EE App Portability
• Deployment descriptors
• Packaging
• Class loading
• JDK extensions
• Shared libraries
• Manifest classpath
• Security manager
• Valves
• Diferent JVMs
• Order of module loading
• Lifecycle events
• SOAP web serices

http://javasvet.rs – [email protected]
JavaSvet open java community

Optimizing JPA
• Denormalization done carefully
• Cache count values using triggers
• Denormalize inheritance tables
• Use bulk updates and deletes
• Use native queries for specific SQL
• Use named queries
• Don’t use transactions for reads

http://javasvet.rs – [email protected]
JavaSvet open java community

Web frameworks
• Lectures
• Advanced Apache Wicket Development
• Rapid Application Development with
Apache Wicket
• GWT Tips and Tricks for Beginners
• Building scalable GWT applications
• JSF & Spring

http://javasvet.rs – [email protected]
JavaSvet open java community
Apache Wicket (1/2)
• Component-oriented framework
• Components:
– Form, Button, TextArea, Link,
ExternalLink, Tabs, Panel
• HTML templates:
– <span
wicket:id=”message”>...</span>
– add(new Label("message", "Hello
World!"));

http://javasvet.rs – [email protected]
JavaSvet open java community
Apache Wicket (2/2)
• Easy Validation
– form.add(new
RequiredTextField("firstname").add(Leng
thValidator.max(15));
– myform.firstname.RequiredValidator=...
– myform.firstname.LengthValidator=...
• Easy Internalization
– <input … wicket:message=”value:hello”
– (properties file) hello:Hello World

http://javasvet.rs – [email protected]
JavaSvet open java community

Fixing JSF
• Use JAWR to compress JavaScript / CSS
• Use Facelets to handle templating
• Use RichFaces / Ajax4JSF for a solid
component library / ajax library
• Use PrettyFaces to build user friendly URLs
• Use Spring Faces
• Use Spring EL resolver and custom scopes
• Using Spring Webflow to provide
conversational state

http://javasvet.rs – [email protected]
JavaSvet open java community
Clouds and Clusters
• Lectures
• Java and the Cloud
• VMware and SpringSource: Bringing
Java to the Clouds
• Clustering your Application with
Hazelcast
• JBoss Clustering Solutions
• Building Efficient Application Grids with
Oracle Coherence

http://javasvet.rs – [email protected]
JavaSvet open java community

VMware and SpringSource


• Standardization of Cloud computing
(DMTF.org – Distributed
Management Task Force)
• Cloud computing: enterprise,
service oriented
• Cloud examples: Amazon S3
(Simple Storage Service),
GoogleFS, Yahoo (Apache Hadoop)
• Spring more than 2M developers
http://javasvet.rs – [email protected]
JavaSvet open java community

Hazelcast
• Clustering and highly scalable data
distribution platform
• Distributed Queue, Map, Set
• Lock, unlock and tryLock
• Transaction
• AddListener
• Handling disconnected nodes,
backups
http://javasvet.rs – [email protected]
JavaSvet open java community

Quotes
• Invest on technology, not on
product.
• Betting on Java EE is a great
investment.
• It doesn't use jsp and crap like that.
• ... works on all browsers and on
Internet Explorer.

http://javasvet.rs – [email protected]
JavaSvet open java community

Questions?

http://javasvet.rs – [email protected]
JavaSvet open java community

Thanks!
Приятен ден!

http://javasvet.rs – [email protected]

You might also like