Tag Archives: Java

EJB Remoting with Wildfly

In Java Enterprise, the EJB (Enterprise Java Bean) technology is often used to create a service layer of a J2EE application running in an application Server (like Glassfish or Wildfly). While accessing these EJB instance is relatively easy from inside the same application (using  @Inject  or  @EJB  annotations for automatic dependency injection), it is sometimes also required to call some methods on the EJBs from outside the application server.

The JavaEE standard provides the “EJB remoting” functionality to do so. In this article I want to show how to access an EJB running in a Wildfly application server from a standalone Java application.

All code examples are also available on our Github page: https://github.com/illucIT/remote-ejb-example

Continue reading

Running Solr 4.10.3 with Maven, Eclipse 4.4 and Wildfly 8.1.0

The basic setup of Solr 4.10 with Eclipse 4.4 and Wildfly 8.1 requires quite a bit of configuration. First of all, be sure that your system fulfills the following requirements.

Prerequisites

  • Java Development Kit (jdk1.8.0_25)
  • Eclipse Java EE IDE for Web Developers (Luna Service Release 1 (4.4.1))
  • Apache Maven (already included in Eclipse)
  • WildFly Application Server (wildfly-8.1.0.Final)
  • JBossAS Tools (3.0.0.CR1) for Eclipse)

The specified version numbers are the versions I’m using. The tutorial should however apply to other major versions, too.

Continue reading