Archive for July, 2009

Vaadin – Νέο Java Web framework

Tuesday, July 28th, 2009

Και εκεί που νομίζαμε ότι δεν χρειαζόμαστε άλλα web frameworks, είδαμε ότι κάτι τέτοιο δεν ισχύει.

Εδώ και δύο μήνες περίπου έχετε και άλλη μία επιλογή – το Vaadin.

Δείτε την κεντρική σελίδα, το FAQ και μια σύγκριση.

Πολύ προσεγμένη και η τεκμηρίωση.

Το Vaadin αναπτύσσεται από το 2000 εσωτερικά σε εταιρία και μόλις πρόσφατα έγινε open-source οπότε είναι περισσότερο ώριμο από όσο φαίνεται.

2009 JavaOne Hands-On Labs

Monday, July 27th, 2009

JavaOne 2009 hands-on labs είναι διαθέσιμα στο SDN. Μπορεί κανείς να τα κατεβάσει από εδώ.

Google O3D

Wednesday, July 22nd, 2009

Google O3D is an open-source web API for creating rich, interactive 3D applications in the browser. This API is shared at an early stage as part of a conversation with the broader developer community about establishing an open web standard for 3D graphics.

Εναλλακτικές προτάσεις για Inversion Of Control

Monday, July 20th, 2009

Παρόλο που όταν μιλάμε για dependency injection όλοι σκέφτονται το Spring και προσφάτως το Guice, υπάρχουν και άλλες λύσεις.

Για όσους δεν χρειάζονται όλα τα χαρακτηριστικά του Spring αλλά επιθυμούν απλά ένα ελαφρύ ioc container, πολύ ενδιαφέροντα είναι το Plexus και το pico-container.

Το Plexus είναι μια ασφαλής λύση καθώς χρησιμοποιείται ήδη σε παραγωγή από το Maven και το Struts2. Δείτε επίσης και μια μικρή σύγκριση με Spring.

Το Pico-container είναι άλλη μια λύση που δεν χρησιμοποιεί XML configuration. Δείτε και άλλη μια μικρή σύγκριση.

To pico-container έχει επίσης πολύ έξυπνο documentation γενικά για ioc. Για παράδειγμα υποστηρίζουν ότι το singleton είναι ουσιαστικά anti-pattern.

Είναι προφανές ότι το Spring προσφέρει πολύ περισσότερες δυνατότητες εκτός από ioc οπότε οι εναλλακτικές λύσεις δεν είναι άμεσοι ανταγωνιστές…

Java DB 10.5.1.1 – Πιο γρήγορη

Monday, July 13th, 2009

Java DB is Sun’s supported distribution of the open source Apache Derby 100% Java technology database. It is fully transactional, secure, easy-to-use, standards-based — SQL, JDBC API, and Java EE — yet small, only 2.5 MB.

Πως να φτιάξετε το δικό σας Maven archetype.

Tuesday, July 7th, 2009

Είναι γνωστό ότι αρκετές φορές ένας προγραμματιστής ξεκινάει ένα νέο έργο απλά αντιγράφοντας την δομή ενός παλιού. Ουσιαστικά παίρνει δηλαδή όλον τον κώδικα ενός υπάρχοντος έργου και αρχίζει να “αφαιρεί” αρχεία μέχρι να μείνει η βασική δομή – σκελετός του κώδικα που περιέχει κυρίως configuration/build files.

Το Maven το έχει αναγνωρίσει αυτό και έχει προχωρήσει στην δημιουργία των Maven archetypes που εξυπηρετούν ακριβώς αυτόν τον σκοπό. Κάθε αρχέτυπο είναι ουσιαστικά ένας σκελετός ενός έργου σε Java/J2EE με έτοιμες όλες τις ρυθμίσεις. Έτσι αν για παράδειγμα θέλετε να ξεκινήσετε ένα νέο έργο σε wicket απλά τρέχετε το αντίστοιχο αρχέτυπο και έχετε έτοιμη την δομή του έργου με minimal Java κώδικα, όλα τα αρχεία στους σωστούς φακέλούς, τις βιβλιοθήκες του Wicket δηλωμένες στο pom.xml, ακόμα το Wicket servlet configured στο web.xml.

Πιο ενδιαφέρον χαρακτηριστικό όμως είναι ότι μπορείτε να φτίαξετε τα δικά σας αρχέτυπα. Έτσι αν για παράδειγμα μια εταιρία έχει αποφασίσει ότι όλα τα νέα έργα πρέπει να είναι σε Spring + JPA/Hibernate + Struts2 αρκεί η δημιουργία της δομής αυτής μία φορά μόνο και η μετατροπή της σε αρχέτυπο. Δείτε λεπτομερείς οδηγίες για αυτό. Σε όλα τα νέα έργα η δημιουργία του σκελετού είναι πια υπόθεση μιας εντολής και όχι 2-3 ωρών για κόψιμο και ράψιμο αρχείων.

Προφανώς μέσα σε αυτό το αρχέτυπο μπορείτε να βάλετε και άλλα πράγματα που θεωρείτε κοινά όπως εταιρικά checkstyle rules, CSS stylesheets για το Maven site ή το Sonar configuration. Στο τέλος είναι λογικό το αρχέτυπο αυτό να μπει στο εταιρικό Maven repository για να έχουν σε αυτό πρόσβαση όλοι οι άλλοι προγραμματιστές.

Spring Framework Certification Training – Athens 18-21 August

Thursday, July 2nd, 2009

SpringSource University Core Spring Training

Spring Certification Training Athens: 2 for the Price of 1 Deal

Every Second Person for Free – Register before July 01

In this 4-day bootcamp you learn how to use the Spring Framework to create well-designed, testable business applications in an agile manner.
Through our trainings, you benefit from the wide experience and architectural expertise of our team. We bring that experience to you in a
highly interactive, intensely hands-on setting. The Core Spring course not only focuses on explaining Spring features and how to use them,
but also on fundamental architectural issues.

Date: 18 – 21 August 2009
Time: 09:00 AM – 17:00 PM (4 days)
Location: Athens, Greece
Price: € 1975,-
SUMMER DEAL: Register before 01 July 2009 and get EVERY 2nd person for free!

During the course you will learn how to:

  • Work with the Spring Inversion of Control (IoC) Container
  • Effectively use JDBC and Hibernate for data access
  • Use JUnit, Spring, stubs and mocking frameworks to effectively implement automated unit and integration tests
  • Take advantage of Aspect-Oriented Programming (AOP) to keep code clean and maintainable
  • Use Spring Security to secure web and standalone applications
  • Manage live applications with ease using Spring’s support for Java Management Extensions (JMX)
  • Become a SpringSource Certified Spring Professional
  • And much more

Click here to read the full day-by-day schedule of this Core Spring class

REGISTER BEFORE 01 JULY 2009 AND GET THE 2ND PERSON FOR FREE!

Register Now

Questions? Dial +31 15 214 6777 or email training_eu@springsource.com

 

Stand out from the crowd, get certified…!

When you become a SpringSource Certified Spring Professional, you will have one of the most valuable credentials in Java. The demand for Spring
skills is skyrocketing. SpringSource training and certification helps to advance your skills and your career, and get the maximum benefit from Spring.
Completion of this course entitles each participant to waive the registration fee for the SpringSource Certified Professional Examination, normally $ 150!
After attending the course you will receive a voucher that can be used at any Pearson Vue Examination location in the world to take the exam. If passed
you will receive the Spring Certificate and you will be granted access to the SpringSource Certified Spring Professional LinkedIn group.

In House “on the job” Training

SpringSource provides in house training classes for companies looking to train a group of developers or operations professionals to rapidly develop their
Spring, Apache Tomcat, Apache HTTP, Active MQ or Groovy & Grails skills. For more information click here

Click to unsubscribe.