Java2Days Conference Overview
Java2Days Conference Overview
Java2Days Conference
Expo Center, 8-9. October 2009, Sofia, Bulgaria
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
http://javasvet.rs – [email protected]
JavaSvet open java community
http://javasvet.rs – [email protected]
JavaSvet open java community
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
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]