Pragmatic Programmer Issues

2007 - 02 Archive

Choosing the right cache

Comments: 3

My friend Piotr asks me about cache. Truly I can’t suggest him any cache. So I decided to compare cache libraries. Nomination in alphabetical order: Cache4j Cache4j is very simple cache. Its have three cache algorithms LFU, LRU, FIFO. It’s fast and small. There is no English documentation (there is Russian one). There’s no JMX. […]

Categories

The saga about Hibernete.

I’ve borrowed book about hibernate. So naturally i want share my experiences with You. Today we focused on JMX and Hibernate. Hibernate has two MBean. HibernateServiceMBean which allows you to modify hibernate settings and StatisticsServiceMBean which expose hibernate statistics. Using jconsole you can change settings, for example you can tell hibernate to write queries to […]

Categories

WJUG 5

Five Warsaw Java User Group meeting is the past. Jacek shows us Seam. I found it very attractive. Last week I’ve try seam. It’s worth trying. JBoss guys close java EE world to new trends such RoR or Django. Their also add few nice features. Ok it’s late, and the seam’s posts will come.

Categories

Flex2 on the board

Comments: 1

Today my family went to kids-play. The children has unimaginable power. My wife is sleeping now, and I’m nearly sleeping too. Introduction to Flex Flex is based on adobe flash technology. Flex applications consist of MXML and ActionScript source files. For easy development you can try for 30 days Flex Builder. Flex Builder is built […]

Categories

Seam or not to seam

Today is a titan worker day. Karwer and I have killed nearly all tasks in 1.9.2. For long time I waited for Seam exploration. I read Jacek fights with seam and application servers. He provides simple seam 5 minutes tutorial startup. 1. Get JEMS Installer 1.2.0.GA. 2. Get JBoss Seam 1.1.6.GA. 3. Install JBoss AS […]

Categories

Django tutorial finished

Yep it’s finished. In my opinion django is worth knowing. It’s easy as RoR, but you always have control about what’s going on. You must watch out about python syntax it’s sometimes not obvious that you have one space extra and code doesn’t work. Last part of tutorial was about forms it normal, I think. […]

Categories

Django 3rd day

Now Django has no chance. After admin panel my expectation are very high. But once again I was wrong. Today tutorial 4, I didn’t achieve tutorial 4 because i play basketball and I’ve got appointment tomorrow about 7 a.m. OK, URL managing, in my opinion it’s better than RoR because you have full control about […]

Categories

Django admin rulez

Comments: 1

Holly dolly After I generate django project there was so little files. All Ruby on Rails script directory is in manege.py, setting in settings.py quit simple. Four files, it amazing. Today I’ve got some time to look at tutorial2. And I don’t believe it, just can believe, the django admin application is marvelous. I don’t […]

Categories

Django first meeting ;)

Ok I finished bootstrap meeting. It’s time to look at django framework. Some years ago I try python, and I think it’s worth knowing. Let’s see django. Django requires python 2.3+ so I check my machine. pedro@pedrowaty: ~ -V Python 2.4.4 Bingo. Let’s follow installation instruction, get django tarball. pedro@pedrowaty: ~ wget http://www.djangoproject.com/download/0.95.1/tarball/ tar xzvf […]

Categories

Mavenization Idea

Finally, we did it. Our project was gained maven nature. The process of conversation is NOT so simple, as I thought when I started. I share my experiences during this migration. Mavenize your project structure It is possible to make maven work with your actual project structure, but as I know now, the first maven […]

Categories

Strange, I survived

Comments: 1

This day is the most nervous day in my life. First mavenization started, after commit we realized that where are some web-guys. which have problems to run tomcat and other stuff, so we want rollback and than SVN refuse to cooperate with us. I fight with time seeking another solutions. As it was not enough, […]

Categories

Mavenization Holded