After Day One

Posted in java by pedro | Tuesday, June 26th, 2007 at 12:47 am

Aaron was great, he told us about python and groovy and java limitations such as

  • bean creation – why sun don’t create setters and getters for us, when we would be know if setter/getter do something or not.
  • closures – it’s normal for ruby groovy and others
  • ORM limitation – ORM in python and grails is nearly perfect
  • list – build in list and map support for python and groovy makes programs more readable.
  • null – groovy .? operator is perfect for null pointers, you don’t have to do if (a ==null) or (a.b() == null) …

The next was Nati Shalom with “Scalable as Google simple as Spring” He told us about Space Base Architecture (SBA), and showed us a limitation in scalability standard solutions. The main reasons are

Data Tier – I/O overhead, contention
Bussines Tier – Processing cpu
Messaging – complex workflows increase latencies

There we try divide this it will create another problems with 2PC (2 Phase Commit). One of the solutions is change from tired base to service centric. But services have its own limitation where they must be state full. Loosely coupled services mean more opportunity to improve scalability, but when services are state full it is bad idea. So we can do SOAP on space introducing read, write, take notify operation. Than we can create processing unit in one VM and adding more PU makes scalable linear.

GigaSpaces with Interface21 make for free OpenSpaces which you can try now.

Where was also talk about Rich Client Platform and remoting which suggest that
- we must consider Single Sign On system – client may use many different systems
- Spring supports such remoting as
Hessian, Burlap, Spring HttpInvoker, RMI, RMI-IIOP/CORBA

- we can consider also Jboss remoting
- and of course don’t use webservices if you don’t have to

Another talk was about Sun SPOT (small programmable object technology)
http://research.sun.com/projects/dashboard.php?id=155. And it was amazing because hardware which Simon Ritter from Sun Microsystems shows us. He introduced Squawk which is a research virtual machine for the Java language.

Next talk from Bruno Bossola Java Chamion(https://java-champions.dev.java.net/) and Torino JUG member was about
Enterprise Application Testing using open source tools
He told us about Fitness and the selenium.

Fitness – it’s wiki that allows you write a test in a table from customer
input and expected result. Because it’s a wiki so you can write with it documentation. We can run test on business logic, application services, internal or external, stored procedures, it can be run by maven.
Time goes and Bruno told about selenium and selenium RC for just few minutes/

And the last was about “Dualcore, Niagara, Rock -
Why Java Developers should care about Hardware”
by Peter Gassmann from (Sun Microsystem)
He speaks about new processors and that we as java developers should care about it, and try to write software as multithreaded. Today we have more then one processor in our laptops.

Suggested read : “JAVA concurrency in practice” by Brian Goetz

So write application as multithreaded for as many as you can imagine processor and check your hardware where you tuning.

Leave a Reply

about me

My name is Sebastian Pietrowski. I've finished Warsaw University as Master degree. During my studies I started work for merlin.pl. The primary language I use is Java but I have also programmed in Python, Ruby and Scala. I worked as a technical solution architect at merlin.pl. infrastructure when we were moving from PL/SQL to J2EE. I engineering a great performance optimized solution that made the application 10 times faster than requirements and 85 times faster as original solution.

Currently, I am working as a Senior Expert at F.Hoffmann-La Roche to help define future roadmap in design and development of Enterprise software at Roche and Genentech and build adoption for new technologies. I'm continuously mentoring new developers, helping them understand how important test driven development is and empowering them to get better at their daily job. I'm involved in many activities which brings new technologies for better and faster development. You can find more details on my LinkedIn profile.

But don’t get me wrong, I am not your typical nerd. I'm a pleasant guy that you can drink a glass of wine with me and talk about a range of topics with. My leisure activities include playing basketball, soccer and listening to music. I try to be pragmatic while staying focused on application performance and tuning with success in my daily work.

My favorite quote from Yoda's and my life’s motto is: Do, or do not. There is no try.