Configure your EJB 3 with envirnoment entries using ENC

Very often you can read ” xml descriptors are dead with EJB 3 “. Well, it’s not exactly true. XML descriptors are not dead, they are optional (thank god). But there is still a very good and legitimate use for them when you want to configure an EJB. When you have an attribute in an EJB which value can change at deployment, you don’t want … Continue reading Configure your EJB 3 with envirnoment entries using ENC

XWiki tutorial

More and more customers are using wikis for collaborative work… and universities too. At the Cnam, where I teach, we felt the need of using a wiki. Our department installed MediaWiki last year but the administrator didn‘t set up the rights properly so it was a real nightmare for teachers to have access to the right resources. A couple of month later, nobody was using … Continue reading XWiki tutorial

Container Managed Transaction, EJB 3 and Exceptions

Let‘s face it. Exceptions in Java have always been a nightmare because we‘ve never known how to handle them properly. Hundreads of articles and thousands of blogs have tried to help us on “how to use exceptions in Java“. We went from “all exception should be checked“ to “all shoud be unchecked“ and then to “business exception should be checked and technical exceptions unchecked“, “each … Continue reading Container Managed Transaction, EJB 3 and Exceptions

Container Managed Transaction – Mind the interface

We‘ve been using EJBs for a long time now and, thanks to Java EE 5, it‘s today even easier to do so. What happens when you are comfortable with something ? You forget the basics. And the basics are, J2EE 1.4 or Java EE 5, an EJB runs inside a container. This container can do a lot for you, transactions for example, but you have … Continue reading Container Managed Transaction – Mind the interface

Java EE version history: Help Needed !!!

I was trying to do a study about the evolution of Java in terms of the langage (how many versions, how many APIs in each version, main features…), its popularity (how many book written in the last 10 years, evolution of the market, job offers in the last 10 years…), its enterprise version (versions of J2EE, how many specifications in each version…)… but I‘m giving … Continue reading Java EE version history: Help Needed !!!

Article: Generate an XML Document from an Object Model with JAXB 2

I‘ve just published an article about JAXB 2 on DevX web site. JAXB (Java Architecture for XML Binding) allows you to perform XML-to-Java data binding and generate Java classes from XML schemas and vice-versa. But in this article I mainly focus on marshalling (generate XML from Java objects). You will see how easy it is to generate XML without doing much (thanks to coding by … Continue reading Article: Generate an XML Document from an Object Model with JAXB 2

Article: Persistence Pays Offs: Advanced Mapping with JPA

Few weeks ago I blogged about JPA and how I believe it will be the future of ORM. After a first article introducing basic concepts, I wrote a second one for DevX showing how to use JPA to map inheritance, one-to-many, and many-to-many relationships. And also a little bit more of query language (JPQL) to query concrete and abstract classes. Continue reading Article: Persistence Pays Offs: Advanced Mapping with JPA

Java Black Belt will be at university

Few weeks ago I‘ve posted about trying Java Black Belt at the University to test the level of our students. We made 40 students take 3 exams (JSP, Servlet and EJB) and got their feedback. Being French students we had some “I didn‘t understand every questions”. We decided not to take that into account because engineering students should have a good technical English understanding. Some … Continue reading Java Black Belt will be at university

Why is JavaPolis so cheap (or why are IT conferences so expensive)

I‘ve been playing a bit with Groovy and I‘ve attended a Grails presentation done by Guillaume Laforge back in January. I thought it was really good and when he mentioned the Grails conference in London I thought “Let’s go! The conference is in May, just during my birthday, I love London, I have plenty of friends there, it would be a good oportunity to know … Continue reading Why is JavaPolis so cheap (or why are IT conferences so expensive)

www.javasoft.com

I was clearing my old bookmarks and adding them to magnolia when I realized that Java Technology was pointing to http://www.javasoft.com. A long time ago (1998/1999) that was the link to java.sun.com. So now, if you type http://www.javasoft.com you’ll be automatically redirected to java.sun.com. Even on Wikipedia, if you type JavaSoft you’ll be forwarded to Sun Microsystem. There is just Webopedia that tells you that … Continue reading www.javasoft.com

Java EE 5 Book – What, When, Who

As I‘ve posted back in september, the book I’ve written uses Java EE 5 to develop a good old PetStore-like application. It’s written in French and will be published by Eyrolles at the end of March or begining of April. It is part of the Les cahiers du programmeur collection (programmer‘s book). This collection is quite pragmatic and focuses on a hands-on approach. The books … Continue reading Java EE 5 Book – What, When, Who

I’ve been tagged – Six things you don’t know about me

Yes, I‘ve been tagged by Matthieu… a long time ago. I should have blogged back a month ago but because of finishing my book I haven‘t had time to do it. I deserve a penalty for beeing so late. So, here are six things (instead of five) about me that (nearly) nobody knows : Tell me a word and I‘ll sing you a song. I‘m … Continue reading I’ve been tagged – Six things you don’t know about me

Java EE 5 Book – The End

Today I‘ve uploaded all my Open Office files to Eyrolles FTP server. That’s it, I’ve finished writing my book about Java EE 5. I will blog later about its content. I just want to thank my team of readers : Matthieu Riou, Alexis Midon, Zouheir Cadi and David Dewalle. Thanks guys, you‘ve been a great help. The book will benefit from your comments and expertise. … Continue reading Java EE 5 Book – The End

JavaPolis 2006 – Back Home

Well, how to say that in a simple way: JavaPolis 2006 was great. Here are more details. Organisation First of all, the organisation was amazing. JavaPolis is not organised by Sun, BEA, IBM, Oracle… but by the BeJUG (Belgium Java User Group). Guys like you and me who decided 5 years ago to create such an event that became international and very professional. I‘ve been … Continue reading JavaPolis 2006 – Back Home

JavaPolis 2006 – Leaving tomorow morning

God, I‘m so involved in finishing writing my book that I’ve completly forgotten talking about JavaPolis. I’m leaving tomorow from Paris in an early train (6:55am) and will present a Quicky about JUnit 4 on Thursday. I‘ve already picked up the sessions I want to attend, mainly JEE, Scripting languages and a bit of JSE. A couple of former BEA colleagues should be there and … Continue reading JavaPolis 2006 – Leaving tomorow morning