Wednesday, 29 April 2009

JavaFX first touch...

Click to play

Ok, this is a very simple tutorial to meet with JavaFX on eclipse. This one is quite similar to what we did in Eclipsist tutorial session, hope you enjoy...

After Eclipsist 2009...

It was such a great fun to watch and be on stage gurus like Jeff McAffer, Wayne Beaton, Ralph Muller, Naci Dai and many more. Yunus and I even starting what to present on next year's Eclipsist. We promise to make the source code and some tutorial videos available very soon. Thanks to everyone who involved in the organisation and thank you all who came to watch...
See you soon ;)

Tuesday, 21 April 2009

Oracle buys Sun, ups... what will happen now?

Ok I was prepared for IBM to buy Sun, all the scenarios was in my head but this was unexpected. What will happen now? Suddenly I feel safer to think IBM bought Sun since they have a good history with eclipse. Java is important for IBM in every aspect so I hoped they would not mess it up with trying to control or making wrong decisions.
But what about Oracle? They are very strong with the database and after the acquisition of BEA they are also strong at Application Servers. Sure they don't need Sun's Application Server and I don't think they really need Java. Meanwhile Solaris and Sun's Hardware is something Oracle was missing.

I just read that Oracle may leave their chair in JCP to preserve democratic nature. Actually I believe this would be a good move and it would be nice if they can keep Java and JCP as free communities. Sun failed to make money on their products and they failed to turn Java in to money. I am sure Oracle won't fail that but if they fail in JCP and just turn Java in to market┼čng product then very soon Java clones and alternatives will popup and instead of making Oracle stronger soon they will weaken the Java Platform. Oracle must keep in mind Java is not young even now so many people are trying to find different alternatives, so they must keep and even pump more innovation to Java.

What will happen to current Sun Products, well we talked about Java. JavaEE and SE will probably get stronger if Oracle does right but I am not very optimistic about JavaFx. Just like the early days of applets when Sun did not bother loosing the war since they are a server side company, Oracle will also not so interested in JavaFx. Honestly I'm not expecting an impact or even good progress from JavaFx.
MySql will probably die. Oracle does not need it and frankly it is a strong enemy against them. Probably MySql will just fade away in time. Solaris&OpenSolaris will probably get huge investment. I am expecting Oracle to sail away form other operating systems to form their own kingdom. Netbeans is very unknown, so far Oracle was on Eclipse side, and eclipse is quite strong. Will they invest in NetBeans just to have challange?. Honestly I don't know, but probably not. They can not turn NetBeans to a non free product, even they do why do people want to pay while they have stable eclipse products in huge variety. Glassfish will either going to replace the core of Oracle and BEA's servers or it will be a free open source version which may stay as a starters pack and also fade away in time.

I always thought a company like Google can drive Java very well. They are good on making money on the side products like ads. They have a good development team, most were in development of Java before. They have a good history and experience in creating platforms like GWT, Android, App Engine, Maps...etc. Google like change and very innovative, but other parts of Sun like hardwares is just doesn't fit them.

I hope Oracle doesn't fail with Java... I really hope...

Sunday, 19 April 2009

Let there be light; Java support on Google App Engine

At last it happened, the long waited dream of running Java on Google App Engine became true. Well it is still in the "early look" stage and only 10.000 accounts available but everything looks near perfect and smooth. I didn't try the App Engine in python so i can not comment on that but I must admit Google did a very good job on Java version. 
Lets face it Java, its frameworks and components like hibernate, spring, ejb are still not easy to understand for a newbie. Lately I tried to show a friend who is a good .net developer, to setup eclipse and code on hibernate, spring etc... Very soon after we start he was lost.  Actually even he understands and codes he would just face another problem, hosting... Hosting a Java application is not easy and cheap. Even the very basic shared JVM hostings start 10 times more expensive than a moderate PHP hosting and shared hosting will not really let you to start or stop the server or to change the jars. OSGi is a promising way to solve this hosting problems, but still I can't say had much progress.
Well here is the solution Google App Engine is free to start and not expensive as your needs gets higher. You have your own database, and you don't need to mess with the server. All you need is built your project and deploy. Unlike what we Java develoers used to, it is quite easy to build and setup a project on Google App Engine. Just download the Eclipse Plugin and you are ready to code. The plugin add 3 buttons which help you to create a new project, run the project and deploy your project.
As you click the new project button a fully configured Google Web application with all needed jars will be created for you. You can use annotations and create entities without making any configuration changes and also a GWT page has already been created for you. This is a really fast and easy start and still more to come... You dont even need to setup a server to deploy your project. Your project already has an embedded Jetty server and there is nothing to configure.
Finally when you are done, the only thing you need to do to deploy your project to app engine is again just to click a button. 
This is how things should really be, simple... and productive. Google has just killed all your excuses to build your dream projects like complicated configurations, expensive startups... They just offer you a platform to build on and most of the time consuming and complicated stuff is all automated.
I managed to run GWT projects, some JSF and use the datastore. I am still working on Flex and JavaFx with the app engine. Soon I hope I will post some tutorials on them.
This is just the beta stage and I am sure there is still so many things to fix or to work on but for Java, things will never be like it used to... Java needed such a solution and finally it is here, everything will be much different. Pandora's box is opened and wont be closed again... soon more applications will sneak out...

Thursday, 16 April 2009

Eclipsist session Sold Out

Thanks everyone, just after few days eclipsist 2009 sessions opened for registration our session already sold out. Please do not forget to bring your laptops to code with us. Hope everyone will enjoy, see you all soon...