Category Archives: Tipp

[Updated] Using JUnits-@Rule for injecting EntityManagers during testing

Hi! Today I would like to show you, how to use a JUnit-Rule for setting up and injecting a EntityManager during testing. First we need at least JUnit version 4.10 and JEE6. I will use EclipseLink as a persistence provider, but you can choose whatever your preferred persistence provider is. The next step, after creating […]

 

0
Kudos
Don't
move!

Read more

Maven Quick-Tip: How to remove version number from created archive

Today I faced the “problem” that I need to remove the version number from the archive maven generates when building. The solution is as simple as it could be: Add to your pom.xml the configuration section of your build plugin the following [code language=”xml”] <typeName> ${project.artifactId} </typeName> [/code] In my case this looks like [code […]

 

0
Kudos
Don't
move!

Read more

Using hot-deploy with Netbeans and Glassfish

One of the nice features, when you were using Netbeans 7.x and Glassfish 3.x, is the hot-deploy feature. This means, when you change a class or web-page, after saving the file is compiled (if required) and directly deployed to the deploy-location of your project. This can save a lot of time, because you had not […]

 

3
Kudos
Don't
move!

Read more

CDI: SessionScoped-Bean must be passivation capable

Due to some questions about Session/ConversationScoped managed beans in CDI I answered during the last days I decided to wrote a little post about it. Another reason was that there seems to be no information about that issue (except of the origin specification ­čśë ). Nearly every single question was around the error message “WELD-000072” […]

 

7
Kudos
Don't
move!

Read more

Hint: Accessing a remote filesystem via ssh in Dolphin

Today I discovered a great possibility for accessing a remote filesystem via ssh using dolphin. Dolphin uses the KIO tool which provides several great features / protocols (e.g. direct encoding of a CD as MP3 ). Another cool feature is the fish-protocol which allows to access a ssh-directory directly. How to use? If fish-protocol is […]

 

0
Kudos
Don't
move!

Read more

Java EE 6 Tutorial installieren

Um einen ersten Einblick in die Welt des Java EE 6 zu erhalten beziehungsweise um mich, habe ich gestern angefangen das Tutorial von Java EE 6 durchzuarbeiten. An dieser Stelle kamen meine Bem├╝hungen jedoch in’s Stocken. Das GlassFish Update Tool stellte mir, entgegen der Ausf├╝hrungen in dem Artikel, keinerlei Optionen f├╝r den Download der Beispiele […]

 

0
Kudos
Don't
move!

Read more