Two days ago I was doing presentation titled “Testing and testable code” at Wroclaw University of Technology. If interested how really start with TDD in your projects, how to keep your code with simple design and always maintain “code that talks”, I encourage you to check out the presentation. I might record the audio for this presentation if anyone interested. Let me know.
Today JSR-314 aka JSF 2.0 was finally released. Expert group was gathered 1st July 2007, so it took almost 2 years to finish the specification. I’m really looking forward to this spec, I am curious and anxious to see what is new. From what I heard, javalobby.com will pretty soon publish RefCards about JSF 2.0, so that should be a good place to start.
From what I saw so far, JSF2.0 tries to take up, where the JSF 1.0 left off. So we are going to hear lots about AJAX support and modularization. But just because those issues were taken into consideration, does not mean that they were handled the right way. 12 members of the expert group voted ‘yes’ for the new specification, however four were against. Those four includes Apache Foundation and IBM. I fear that, when new issues and problems arrive with this new specification, Apache and IBM will once again say ‘We told you so’.
But right now I’m patiently waiting for reference implementation to try JSF2.0 myself. I really hope that things will get better.
And remember, whatever you want to say about JSF (and me specially since I was recently ranting about it) remember this: JSF is now standard and times where you had to code in pure JSP at work are long long gone. Always better JSF then model2 jsp-servlet programming
Installing Oracle XE on Ubuntu is quite easy and straightforward. Following steps show you how to install, configure and run Oracle XE database on Ubuntu Linux system.
1. Add new repository
1.1 Add this entry to your software sources: deb http://oss.oracle.com/debian unstable main non-free.
You can do it by simply clicking: System->Software Sources->Third-Party Software (as shown below) or add this entry into the /etc/apt/sources.list file. Choice is yours, same effect.
1.2 Add public key
Simply write into console wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add - . But of course you can do it navigating to System->Software Sources->Authentication
2. Run Oracle installation
sudo apt-get install oracle-xe
and after installation is finished, run configuration program:
sudo /etc/init.d/oracle-xe configure
where you anwer four simple questions:
- Oracle Application Express port (default 8080)
- Port for database connection (default 1521)
- Password for user SYSTEM – the administrator
- yes or no question whether you would like to run database with startup of your system
And that’s it! You have running Oracle instance. You can start playing with it by running SQL*Plus or web application at http://127.0.0.1:8080/apex.
Post moved to http://www.paulszulc.com/2009/do-you-know-java-killers/
I always considered standards more valuable then tools that were not standardized. Thus I was always more interested in EJBs then Spring, always fan of JSF rather then any other frontend framework.
Recently I’ve been hired as a consultant (or should I say freelancer but consultant sounds more fancy ) and started developing webapplication with Wicket and Spring. During the job interview they’ve asked me what frontend framework I would use and/or recommend for developing webapplications in Java. I answered rather quickly: Java Server Faces. Right now after almost 3 months of development in Wicket, I’m not so sure. Even more, I wonder how I will ever be able to go back to JSF after experience with this completely different frontend framework . Seriously all the cumbersome, hard, sometimes impossible things in JSF are easy, simple and pretty much natural in Wicket.
Recently I read this post at Incremental Operations titled “JSF suck” and I must say that I agree with almost every case described there. Hard and almost never used by developers support for reusability, cumbersome API (with all the request – response phases) are just the pick of the icberg. If you are strong supporter of JSF, I encourage you to read previously mentioned post.
As I said before, currently I wonder how will I ever be able to go back to JSF.
Still not convinced? Probably you are exactly like me 3 months ago. Always ranting about people who try not use standards whenever it is possible, pure fan of JSF (regardless of the implementation, whether it its richfaces, icefaces or other). But I guess you never seen Wicket in action, have you? I strongly strongly encourage you to give it a try. For start create simple webapplication with welcome page and login page. Then make login part an reusable component and embbed it in welcome page. Write some functional tests, add validation support and then… try doing the same in JSF. See the difference
On 26th May 2009 I will talk about “Testable code” at Wroclaw University of Technology. Presentation is inspired by Misko Hevery‘s blog, Joshua Bloch unofficial Java Bible (“Effective Java”), easyb way of testing, Szczepan Feber‘s beautiful tests talk at GeeCON and my personal experience.
Talk is prepared for students, but I guess no one will mind if someone in the audience is not from the university. Anyway if interested in topic, I would be more then happy to see you there. Detailed info below.
Wroclaw University of Technology, Wroclaw, Poland
Building B-4, room 227
time: 9:15 AM – 10:45 AM
Presentation is now online and can be reached here.
Ok, so basically this ain’t my first blog. I’ve been rather successfully running my IT blog in polish language at http://paulszulc.blogspot.com. So what happened, why sudden change? And why wordpress.com and not blogspot.com? Well to tell the long story short:
1. After reading Pawel Badenski’s post I realized that I should really blog in English – “Esperanto of software world”. More people might read it, better feedback I can get, thus faster grow of my IT skills.
2. I honestly dislike lack of all the major blog functionalities on blogspot.com, that are available here on wordpress.com
More about my switch to English writing and decisions about it you can read in polish here: http://paulszulc.blogspot.com. If you never came across my previous blog, then all you should know, is that I’m starting the new one here (yeah!) and I will translate some of my previous posts to English (so at the beginning some entries here might be just simple copy of my previous blog), especially Java Killers series and all the posts tagged with “learned on field” where I describe common situations that I encountered during programming and I hope to share what I learned from that experience.