Archive

Archive for the ‘java’ Category

BlackBeltFactory – join now

Lipiec 26th, 2011

Are you a member of BlackBeltFactory community? Not yet?

Here are a few reasons to join:

  • You can access free exams on a belt track
  • For contributions you get points which you can exchange for an access to another exams - here is a full list
  • You can also access courses to learn new things before you take the exams
  • You can ask a community member to be your couch. Basic courses are free, more advanced are paid, but the price you pay is usually small comparing to what you get
  • You can include your profile in your CV. More and more headhunters refer to BlackBelt profiles, especially when you integrate your account with linked in
  • And it's a great fun :-)

java

Python for Java developers: list comprehension

Czerwiec 30th, 2011

If you are used to Java syntax (or another similar, verbose language), Python's list comprehension syntax might seem a little bit strange at first. However it is pretty straight forward and useful. I will try to show that on a few examples.
Read more...

java, Python

Ceylon – a new JVM language

Kwiecień 29th, 2011

For a past 7 months my everyday (programming) language is not Java anymore. My new work involves C#, C++ and recently mostly Python. I find this as a great chance for my self-development, a chance to shift to a new level of abstraction and to broaden my experience.

Switching away from Java after almost 5 years of commercial usage (PHP was first) was tough but I learned a lot and now I know what I miss in Java (and what is better in Java than in C# or Python ;-) .

And yesterday I saw Gavin's King post about Ceylon - a brand new language for JVM. Gavin gave just a sneak peek into the language in a few parts series of post. Compiler is not available yet. After reading first two parts of the series I must say that it looks very promising. Like a mix of best ideas from Java, C# and Python.

Have a look a Gavin's posts.

ceylon, java

Observer pattern with generics

Luty 4th, 2011

One of the design patterns defined by GOF is Observer Pattern. A quick google search will provide you quite a lot of examples, definitions and diagrams. Most of them don't use generics. Here is my try ...

Read more...

java

Private inner class hacking

Wrzesień 7th, 2010

Recently I've been working on a small JUnit extension to integrate it with TestLink. In one place I had to get access to a private field via reflection which was of a type declared as a private inner class. Having that instance I had to access the declaring outer class' private field :) Sounds confusing? Have a look at the examples.
Read more...

java , , ,

Class loading: JBoss AS vs. WAS

Lipiec 6th, 2010

Recently I got a task - take the "JEE" application from JBoss AS 5.1 and run it on WAS 7.0. It shouldn't be difficult - we have JEE standard after all ;-)

Read more...

java

From JUnit3 to Easyb

Luty 26th, 2010

In this post I would like to show you a simple class and its tests and what was the evolution since JUnit3 to easyb.

Read more...

Groovy, java

JavaExpress Issue 5 in English

Luty 20th, 2010

New issue of JavaExpress

Grudzień 11th, 2009

A new issue of JavaExpress magazine is now available for download. You can download it at http://www.javaexpress.pl/. English version is not available yet but it will be soon.

Grails, java, JavaExpress

EJB3 tutorial part 03: session bean’s lifecycle callbacks

Listopad 17th, 2009

In previous posts we've learned how to create Session Beans (both Statless and Stateful). In this post I would like to show how to use lifecycle callbacks.

Read more...

EJB3, java