Patching PicketLink to support multiple LDAP stores

26. December 2011

The PicketLink framework[1] provides identity management (IDM)[2] to applications based on different identity providers. PicketLink offers support for a number of different identity store back-ends like LDAP or RDBMSes.

We are successfully using PicketLink in several internal and external applications and it is also a foundation for many other frameworks like seam-security[3] or the GateIn[4] portal server.

Read the rest of this entry »


Provisioning Maven artifacts with Puppet

1. November 2011

Our last blog post introduced how Puppet can be used to achieve Infrastructure-As-Code, and how to deploy Play applications following this practice. However, we didn’t address how the applications are actually copied to the host.

Apache Maven is a widely used build tool adopted by more and more companies to support their build process from compilation to deployment. Deploying, in the  Maven world,  means uploading the artifact to a Maven repository. Such Maven repositories are managed using Sonatype Nexus or JFrog Artifactory. However, this sort of deployment does not address the real provisioning of the application, i.e the deployment on the production servers.

This blog post presents a Puppet module to download Maven artifacts from a Nexus repository. This module closes the gap between the development team deploying their artifacts to a Maven repository, and the administration team responsible for installing and configuring the application.

Read the rest of this entry »


Seam Forge – interview with project lead Lincoln Baxter, III

3. August 2011

Seam Forge – a core framework for rapid-application development in a standards-based environment.

Q: Hi Lincoln, thanks for your time. What’s cool about Forge?
A: Hi Michael, thanks for your interest in Forge! Special, that’s a tough one. It’s my project so it all feels a little special, but overall I think there are two big differences we’re going to see with Forge as opposed to other rapid application tools like it. The first is the fact that it is technology agnostic. Sure, it’s written in Java, and it primarily operates on Java projects right now, but it could be used on any technology, support any build tool, and even do things that are completely un-related to web development. I for one, plan on using it’s plugin system to control my home automation system. And that brings me to the other big thing that makes Forge special – the plugins themselves. Plugins are so easy to write that I expect people will be writing plugins for things we couldn’t have possibly imagined.

Read the rest of this entry »


New JSR Proposed: JPA 2.1

16. January 2011

Update 01. Feb 2011

akquinet joins the JSR-338 expert group to take active part in developing the JPA 2.1 specification.
 



A new Java Specification Request JSR-338 has been submitted to extend the Java Persistence API (JPA).

The JSR will address a number of features requested by the community:

  • Improvement of the query language and the criteria API
  • Extending the object-relational mapping (custom types, transformation methods, better schema generation, UUID generator types and more)
  • Dynamic definition of persistence unit and object-relational mapping
  • Read-only entities
  • Methods for dirty detection
  • Support for fetch groups or fetch plans
  • and more …

Linda DeMichiel from Oracle, already spec lead of JPA 2.0 and EJB 2.x, 3.x, is the specification lead of the JPA 2.1 expert group. The JCP review ballot closes end of the month and the expert group will be formed as soon as the JSR is approved.

akquinet has a long history in the area of persisting Java objects and object-relations mapping. Michael Bouschen from akquinet is member of the JPA 2.0 expert group, the JDO expert group(s) and the JDO TCK implementation team at apache.

akquinet is supporting this JSR and plans to join the JPA 2.1 expert group to continue the work on Java Persistence.


Akquinet presents: Aslak Knutsen and Pete Muir on “The future of Java enterprise testing” and “The unified programming model of Java EE 6″

5. October 2010

In cooperation with the Java User Group Berlin Brandenburg, akquinet proudly presents the two JBoss Core Developers Aslak Knutsen and Pete Muir (project lead for Seam and Weld):

1) Throwing complexity over the wall:
The future of Java enterprise testing

This talk unveils the missing link in enterprise Java development: simple, portable integration tests. For many, enterprise Java development has long been an arduous undertaking because of this void. While development life is simple with unit tests and mocks, they only take you so far. Eventually, you need to validate how your components interact and operate in their intended environment–you real need integration tests. Yet, writing integration tests has meant assuming the burden of bootstrapping all or part of your infrastructure. That’s time lost and it places a mental barrier on testing.

Arquillian, a container-oriented testing framework layered atop TestNG and JUnit, tears down this barrier. It does so by bringing your test to the runtime rather than requiring you to manage the runtime from your test. Picking up where unit tests leave off, Arquillian enables you to test real components that rely on real enterprise services in a real runtime.

What’s the secret ingredient? This talk will show how Arquillian simplifies integration testing by providing a component model for tests, just as Java EE 5 simplified server-side programming by providing declarative services for application components. The test component model consists of container lifecycle management, test enrichment (dependency injection), container deployment and in-container test execution. Using a component model means your tests are portable and able to move between different environments, from single embedded or remote to multi-server to multi-cloud nodes.

Attend this talk to learn about the future of Java enterprise testing.

Presenter: Aslak Knutsen, Senior Software Engineer, Red Hat, Inc.

Aslak Knutsen is currently employed by Red Hat, on the JBoss Seam team where he is the project lead for Arquillian and works on projects such as ShrinkWrap, Weld and Seam 3. Previously, Aslak was a Senior Consultant at Conduct AS (working with JBoss related technologies) and Senior Developer at EDB ASA (working with electronic billing/banking systems).

2) The unified programming model of Java EE 6

With the introduction of Contextual Dependency Injection and Managed Beans into the Java EE 6 platform, a Java EE developer now has a full complement of facilities to write a Java EE application. But when should CDI be used, and when should introduce EJBs? How can you integrate CDI and EJB into your application? In this session we will walk through a Java EE 6 application build around CDI, and show how we can unobtrusively add EJB services as we need them.

Presenter: Pete Muir, Principal Software Engineer, Red Hat, Inc.

Pete is the project lead for Seam and Weld (the reference implementation of JSR-299: Contexts and Dependency Injection for Java EE), and is the co-founder of Arquillian, a test harness for Java application servers. Pete represented JBoss on the JSF 2.0 Expert Group. Pete is currently employed by Red Hat, as a Principal Software Engineer working on JBoss open source projects. Before working for Red Hat, Pete used and contributed to Seam whilst working for a UK based staffing agency as IT Development Manager.

date: October 6th 2010
time: 7pm-9pm (warm up 6:30pm)
venue: FU Berlin, Institut für Informatik, Hörsaal (EG), Takustrasse 9, 14195 Berlin

Join us for snacks and discussions after the talks!


Introducing Hibersap – Part 1: A simple application

9. July 2010

This is the first post in a new series about our open source framework Hibersap. You can use Hibersap in your Java applications to implement interfaces to SAP systems. Under the hood, Hibersap uses the SAP Java Connector version 3 or a JCA compatible resource adapter to connect to SAP. It makes use of Java annotations to map Java classes and fields to ABAP function modules and their parameters and offers a Hibernate-like API to remotely execute those function modules.

In this post we will develop a small sample application that shows Hibersap’s basic concepts. The following posts in this series will successively demonstrate other concepts like transactions, data type conversion, using resource adapters or testing Hibersap applications.
Read the rest of this entry »


How to test an EAR based JSF application using JSFUnit

1. June 2010

How do you test your JSF application? Using JSFUnit allows you to perform integration test of your JSF application. The tests are run inside the container. JSFUnit tests can access the internal state of your application. The JSFUnit documentation describes how JSFUnit can be integrated into a Maven build environment. It leverages the maven-cargo-plugin and the maven-surefire-plugin to deploy the tests to an application server and execute them using JUnit.

However this is only explained for a plain Web archive (.war). It remains unclear how a JSF application can be tested which is packaged within an Enterprise archive (.ear). Continue to read if you are interested to see how we used JSFUnit to test our EAR based JSF application and how we integrated it in our Maven build environment.

Read the rest of this entry »


Using the Maven Ant Tasks from within an Ant based Maven Plugin

11. May 2010

Are you developing an Apache Ant based Maven Plugin? Do you have problems to use the Maven Ant Tasks from within your implementation? In the following article we describe what steps are necessary to use the Maven Ant Tasks within an Ant based Maven plugin.
Read the rest of this entry »


Using JBoss Messaging in a firewalled environment : the toll road

30. September 2009

Are you using JBoss Messaging in a firewalled environment? Do your long running JMS consumers fail to receive JMS notifications after some time of inactivity? If you answer yes to any of these questions you might be interested in our field report where we describe how we diagnosed and fixed such issues with JBoss Messaging and long running JMS consumers within a Java Swing Client.
Read the rest of this entry »


Getting started with JBoss Seam and Maven in 10 seconds!

14. September 2009

akquinet has created and published a Maven Archetype which allows you to setup and run a JBoss Seam Sample-Application with a full Maven based build configuration in around 10 seconds.
Read the rest of this entry »


Follow

Get every new post delivered to your Inbox.