Posted by
fabian maass in
Java
Jul 4th, 2010 |
Comments Off
For a project at the University we had the task to create Annotations that would remove the concurrency boilerplate Code from Java. The main Idea of the Annotation is to mark some kind of Collection-processing method with @Parallel, so that the method-body will be executed by several Threads, which after completion will be joined and passed back as return value. I thought that this would be the right time to finally take a look into AspectJ.
So at first we create a standard maven project and a basic Annotation:
package de.fabianmaass.abc.annotation;
import java.lang.annotation.ElementType;
import...
Posted by
fabian maass in
Java
Nov 10th, 2009 |
Comments Off
Just found out that, if you run several Java Versions under Windows, Windows has this oddity to put the Java executables under \windows\system32, whenever you install a newer version of java. So if you have to build java code on the console with an older version, sometimes its not enough to set the %JAVA_HOME% environment variable or to set the version in systemcontrol, but to delete those...
Posted by
fabian maass in
ICEFaces, Java, Liferay, Portlets
Oct 25th, 2009 |
2 Comments
Since ICEFaces is almost like ZK a container-agnostic Framework, I wanted to create an additional Archetype for creating Web-Apps with ICEFaces. This could have been any other JSF component framework, but ICEFaces happens to have their own Portlet-Bridge, which comes in handy when deploying to a portal. I tried RichFaces before, but RichFaces seems to be a major pain when trying to run in a non-ejb container like Tomcat. Maybe things will get better with the soon to be released JBoss Portlet-Bridge 2.0, but I doubt it, because its not really in their scope.
And because the settings are almost identical...
Posted by
fabian maass in
Java, Portlets, ZK
Oct 24th, 2009 |
4 Comments
I want to describe the basic steps to create a hybrid Web-Application, thats runnable in a normale Application Server, like Tomcat, and is also deployble to a Portlet Server like Liferay. There are lots of other well documented sources that describe the basic steps on each of those Web-Apps independently, so i dont want to get into too much detail here. I mainly want to describe the essential steps, so your Web-App is deployable in both containers. Im using Liferay 5.2.3, it should also be working in other Portlet-Containers, for example JBoss Portal, but i can’t guarantee it. Finally i want to...
Posted by
fabian maass in
Liferay
Sep 21st, 2009 |
2 Comments
If you are getting warning messages from your freshly unzipped liferay/tomcat bundle like this:
Warning: META-INF\MANIFEST.MF modified in the future.
Warning: WEB-INF\liferay-display.xml modified in the future.
Warning: WEB-INF\liferay-plugin-package.properties modified in the future.
Warning: WEB-INF\liferay-plugin-package.xml modified in the future.
Warning: index.zul modified in the future.
you have to add timezone settings in the setenv.sh/setenv.bat like that:
-Duser.timezone=Europe/BERLIN
A list of Java Timezones can be found...