Tags » JBoss

Upgrading and patching the Red Hat JBoss Enterprise Application Platform (JBoss EAP)

One of the biggest advantages, besides the support for the Red Hat JBoss Enterprise Middleware are the access to continuous updates and bug fixes. In previous versions, minor patches could not be applied automatically, also updates or bug fixes had to be installed manually, by changing individual configuration files and replacing Java Archives. 326 more words


EAP 6.2 / JBoss AS7: xa usage example

There are some examples of using XA/JTA on jboss, such as this quickstart, but I found them overly complicated, involving JPA in the process. 1,223 more words


JBoss 7 下的implicit modules dependency

最近在整理公司product的起build過程, 由ant轉到maven所以要執返啱晒d classpath. 發現之前好多jar都冇放入個ear度, 又冇0係jboss-deployment-structure.xml度define, 但個product又搵到個class (例如javax.mail). 最後發現原來jboss本身有好幾個implicit modules會自動include,

Core Server
  • javax.api
  • sun.jdk
  • org.jboss.logging
  • org.apache.log4j
  • org.apache.commons.logging
  • org.slf4j
  • org.jboss.logging.jul-to-slf4j-stub
EE Subsystem
  • javaee.api

而javaee.api入面就有一大堆成日會用到的modules, 包括javax.mail.api:

<module xmlns="urn:jboss:module:1.1" name="javaee.api">
        <!-- Insert resources here -->

        <module name="javax.activation.api" export="true"/>
        <module name="javax.annotation.api" export="true"/>
        <module name="javax.ejb.api" export="true"/>
        <module name="javax.el.api" export="true"/>
        <module name="javax.enterprise.api" export="true"/>
        <module name="javax.enterprise.deploy.api" export="true"/>
        <module name="javax.inject.api" export="true"/>
        <module name="javax.interceptor.api" export="true"/>
        <module name="javax.jms.api" export="true"/>
        <module name="javax.jws.api" export="true"/>
        <module name="javax.mail.api" export="true"/>
        <module name="javax.management.j2ee.api" export="true"/>
        <module name="javax.persistence.api" export="true"/>
        <module name="javax.resource.api" export="true"/>
        <module name="javax.rmi.api" export="true"/>
        <module name="javax.security.auth.message.api" export="true"/>
        <module name="javax.security.jacc.api" export="true"/>
        <module name="javax.servlet.api" export="true"/>
        <module name="javax.servlet.jsp.api" export="true"/>
        <module name="javax.transaction.api" export="true"/>
        <module name="javax.validation.api" export="true"/>
        <module name="javax.ws.rs.api" export="true"  services="export"/>
        <module name="javax.xml.bind.api" export="true"/>
        <module name="javax.xml.registry.api" export="true"/>
        <module name="javax.xml.soap.api" export="true"/>
        <module name="javax.xml.ws.api" export="true"/>

        <!-- This one always goes last. 33 more words

WebSphere vs. JBoss license cost calculator

Red Hat promotes JBoss Application Server as a low cost alternative to WebSphere Application Server Network Deployment (WAS ND) and WebLogic Enterprise, but this is like comparing Ford Focus and Ferrari 458. 907 more words


Introducing Project LEE7 - Learning Java EE 7

As a means of diving deeper into the architectural aspects of Java EE programming, I decided to work on a series of posts where I investigate creating a modern enterprise application.   260 more words


Install JBoss 7.1 on CentOS 6

Installing  JBoss 7.1 on Centos 6

This post will cover installing JBoss 7.1.1 on CentOS 6.x.

We’ll also set up JBoss to run as a service, as well as set up access to the management console… 2,236 more words


SOAP error: setProperty must be overridden by ...

Here is the exception that arise each time some jar conflicts happen when I start JUnit test. I write this to use as a reference for my colleagues and me. 61 more words