Posts Tagged With ‘JEE&8217

Spring Framework & Java EE Part 2

This is the second part of the my post on Spring & JEE first impressions. This part is a quick glance to development environments. Netbeans 7.2 is used for JEE and IntelliJ IDEA 12 is used for Spring Framework. IntelliJ IDEA is a general purpose IDE for Android, Java, J2ME, JEE, Spring ..etc.

Netbeans provides best integration with Java EE technology stack, it handles configuration automatically and helps developers with suggestions. Whenever an entity class is annotated Netbeans checks for persistent unit, if not available it makes suggestions for persistence unit.


Also, It has also code generators for entity classes, especially ones from database tables. It generates necessary classes and named JPA queries.



Netbeans comes with Glassfish bundle, application can be deployed to the app server through one click. Everything is handled by IDE.

If you are on Spring Framework which is generally developed by Eclipse, you have to generate maven configuration and related dependencies for spring and sub spring projects. After having Spring libraries, there are configurations need to be set up for the application. Sometimes its annoying to define datasource, transactions, beans … etc. At this point IntelliJ IDEA helps to handle configurations easily. It can detect enabled modules in applications.


Syntax highlighting is amazing, it is available in almost any files, java, xml … etc. It can suggest which actions to take against problems.


entityEntity generators work smoothly with any given datasource.


No doubt that ORM is a power tool for managing data through OOP manner however, some times specific OOP queries needed. But, writing and testing these queries a little harder when compared to SQL since, there are no ORM manager. IntelliJ IDEA helps it with built in console for executing object queries inside the IDE without deploying application. The most amazing tool in the IDE (personal opinion).


This post is about comparing IDEs than technology stack. Next parts will focus on more related to technologies like Persistence, MVC, JSF and Security on Spring and JEE.

Spring Framework & Java EE Part 1

I’ve worked with Java Enterprise Edition 5 in a real enterprise environment but never had a chance for Java EE 6. Java EE is getting better in every release Java EE 7 is on the way and supports from companies increasing every year. A few months a go I started to use Spring Framework as my primary web framework for Java, It is too early to make comparisons but I can tell my first impressions on these two technologies.

Both two are open source and have a big community to support enterprise application development, spring seems more developers than JEE for now. Things that I like JEE ecosystem is , all components are developed (lead) by one company. The language itself Java, framework JEE, IDE Netbeans even database MySQL and the application server Glassfish. It provides really nice integration. Spring has STS but never used it and I haven’t seen anyone using it either. One thing that I don’t like Spring is configurations…. There are uncountable XML files and tags, in general I lost my self in it. This gap can be closed by Intellij IDEA which has better support for Spring than others. I’ll try to share my thoughts here for Spring + Intellij IDEA combination.


Cool Presentation

One day I’m planning to prepare a presentation like this which is belongs to Adam Bien. Its is really cool or geeky 🙂

“Secure Java For Web Application Development”

“Foundations of Security” kitabının arkasından okumaya başladığım “Secure Java For Web Application Development” kitabın sonua geldim. Kitap 300+ sayfa anlatılan içerik 100 sayfaya rahat sığar. Bazı konular çok kez tekrar edilmiş. Konular örnek bir uygulama üzerinden anlatılmış, yeni başlayanlar için oldukça ideal. Kitaptan beklediğim ve ismindede geçen Java’yı görmekti, malesef Java’dan pek fazla bahsedilmiyor  ve hatta Java Enterprise’ın ismi bile geçmiyor desem abartmış olmam. Çok detaylı teknik bilgi bulmak zor, bu yüzden genel bir kesime hitap ediyor.

Dr. Emin İslam Tatlı tarafından incelenen iki güvenlik kitabı da okunacaklar listemde yerini aldı. Okumaya başlayacağım birinci kitap “Architecting Secure Software Sytesm”.



Linux vs. Windows Conflict

Since we moved to our new office with new company and additional staff, we’ve switched our platform from JEE on Linux to on Windows because D&D is easy to use which I completely disagree. Today one of the developers in the office noticed that our .net development server is down. It is used for development and test purposes (manual tests). It is crashed despite having better hardware when compared our old servers which is not a server (we build it with oem products) and it is running Fedora and still up and serves well. Windows box is broken, having power issues but Linux box is still up for 408 days. What a conflict!!! Linux box with poor hardware having better performance and robust when compared better windows box with better hardware (designed for servers).

Man, .net really sucks … I already know it but .Net developers prove it.