Files for RESTful webservices with JAX-RS
I promised in my previous blog post about my seminar on RESTful webservices with JAX-RS that I would write a new post with links to the PowerPoint slides and code examples. So here it is! You have to...
View ArticleTestNG(Next Generation) a unit testing framework
There might be other unit testing frameworks available which maybe better than TestNG but for me coming from a JUnit test framework background it was easy to adapt to TestNG (which has got inspiration...
View ArticleRepresenting a service both as RESTful and SOAP based using Apache CXF
Apache CXF is an open-source Web Services framework supporting both JAX-WS and JAX-RS. This means that we could create a service and offer it both as RESTful Web Service and traditional SOAP based Web...
View ArticleRPC/Encoded webservice
When you need to consume a webservice and that service is using a deprecated rpc/encoded binding style, then you are faced with a problem that there is no real good solution to. In short, the problem...
View ArticleHibernate and JPA guidelines [part 1]
I recently had a cooperation with some colleagues from the Oracle team, putting together a document with some guidelines and tips for working with Hibernate/JPA and Oracle from a performance point of...
View ArticleHibernate and JPA guidelines [part 2]
This is the second post with Hibernate/JPA guidelines. As I wrote in the previous post each topic is divided into three parts; problem, suggestion and value. All topics evolves from a identified...
View ArticleHibernate and JPA guidelines [part 3]
This is the last post of three with Hibernate/JPA guidelines. This post consists more of some tips and trix rather then general guidelines. As I wrote in previous posts each topic is divided into three...
View ArticleSome hibernate characteristics
Hibernate is a mature ORM tool for Java environments and is Free under LGPL. Hibernate lets you map your Java classes to database tables, and also provides data query and retrieval facilities. This...
View ArticleVaadin Framework
is a Java web application framework. It is designed for creating rich and interactive applications that run in the browser, without any plugins. No HTML, XML or JavaScript necessary just like GWT. GWT...
View ArticleOpenEJB
An open source, embedded, lightweight, easy to configure EJB Container and EJB Server. Using OpenEJB turned out to be the salvation when developing EJB applications. Even if your requirement is not to...
View ArticleJfokus 2013: Java8 and functional programming
In februari this year I attended Jfokus 2013. In a earlier post I talked about responsive web design which catched my intrest during Jfokus. In this post I will talk about another subject that catched...
View ArticleHibernate – GenericJDBCException: Cannot open connection
Under server load if the transactions are holding database connections for a long time then one might face the problem with Hibernate’s GenericJDBCException: Cannot open connection. Though it indicates...
View ArticleTutorial: TDD development using Java EE, Arquillian and Selenium
This is a blog post that will take you from configuring a JEE project using maven to having a complete solution. The goal is to focus on TDD development and each new step will introduce new features....
View ArticleCreate Java EE6 project using Maven
Go back to Index This is the first in a series of articles on java development. Today we will go through how to setup Java EE 6 using maven. Environment We will be using Eclipse (Juno) Maven 3.0.5...
View ArticleTDD development using Arquillian
Go back to Index In this session we will look into test driven development using Arquillian. This guide is a followup on the setting-up-java-ee-6-with-maven Lets start by adding the required...
View ArticleMultiple containers in TDD development using Arquillian
Go back to Index In the previous example tdd-development-using-arquillian we tested CDI Injection using WELD, in this one we will use different containers, talk about using profiles in maven to control...
View ArticleTDD development using Arquillian together with EJB
Go back to Index In the previous sample multiple-containers-in-tdd we added support for multiple profiles, we are going to build on this project and add support for injecting EJBs In Step 2 we make a...
View ArticleCreating a JPA layer using Java EE 6
Go back to Index This session is a follow up on tdd-development-with-EJB The scope of the session is to add a database layer and some CRUD methods. This will be a simple solution using JPA and...
View ArticleTesting Web layer with Selenium
Go back to Index This is a follow up from step-5-creating-jpa-layer-using-java-ee In this chapter we will add a login web page and write test cases towards it. We will be using Arquillian and Selenium...
View ArticleArchitecture and design
Go back to Index This is a follow up from testing-web-layer-with-selenium So we have managed to get quite far by now, lets do a quick recap, We created a new JavaEE project using maven, then we started...
View Article