Breaker

Do we need J2EE for this?

Question : We want to write a ERP-Software for our company.The number of users will be up to 200 (mostly not at the same time). Since usability is important, we plan to choose a Swing GUI. What do you think of it? Do we need J2EE for that? Or is this a bit too much? …

Breaker

EJB3 Unit Test

There are some difficulties in enterprise application development like testing and debugging. JEE aims to reduce these difficulties by dividing enterprise programming into modules. I have prepared a screencast about testing EJB3 modules and also it is my first screencast. Related posts: Dependency Injection

Breaker

Old Cool Dark Terminals

I have been working on JEE platform for 2 years as a professional. I like java and java related platforms but I really miss developing native applications on dark black linux terminals. I wish I have a chance to work on embedded devices as a professional. Nowadays being mobile is important as a result mobile …

Breaker

Setting up a cluster

It took 2 days to read and learn and setup a JEE based cluster for different types of platforms. I still have some problems in linux running Fedora Core 7. Problem is setting up connection on node instances. A good start for JEE cluster can be found here. Related posts: Linux vs. Windows Conflict

Breaker

Dependency Injection Sucks

Java EE platform has many benefits one of them is Dependency Injection. It is an useful feature provides just using annotations instead of making lookups. However you cannot use it anywhere you like, only container managed components accepts resource injection. Such as EJB beans, Servlets, and JavaServer Pages (JSP) technology tag handlers. Thus, you can …

Breaker

Security in Java EE Part 1

Object Oriented application development provides developers to divide application into different layers such as database layer, business layer, presentation layer … etc. Multi layer application development approach provides easy to develop and maintain large scale projects. However, this approach addresses one of the most important issue, security. Java EE consists of components ejb, web, web …

Breaker

java.lang.OutOfMemoryError: PermGen space

If you are developing JEE applications with low resources (like me ) probably you have been facing “java.lang.OutOfMemoryError: PermGen space” exception and it will be your nightmare. Sample stack trace of exception: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exceptionjava.lang.OutOfMemoryError: PermGen space at sun.misc.Unsafe.defineClass(Native Method) at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45) at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381) at java.security.AccessController.doPrivileged(Native Method) at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377) …