Breaker

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 asp.net 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 …

Breaker

Load Balancing

I had some problems with load balancing on glassfish clusters but today I got it up and running on my local machine using apache2 as web server. Related posts: Understanding the cache of TopLink Essentials(GlassFish JPA) Glassfish + MySQL Old Cool Dark Terminals Follow Symbolic Links

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

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

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) …

Breaker

Schema Generation : Hibernate vs Toplink

Do you know why I like hiberante and dislike toplink?A simple reason should be hibernate scheme generation can update columns and lots of stuff in existing table as mentioned below: SchemaExport (hbm2ddl): This tool is provided with the core Hibernate download. It uses Hibernate mapping metadata XML files to generate a SQL database schema with …