2013-03-27T16:50:32CET
Stan
Thank you for the great tutorial. Time goes on, and there are some fixes should be done to the pom.xml. If you get an error while building the ...more
2013-01-31T17:45:28CET
Scott Marlow
https://docs.jboss.org/author/display/AS72/JPA+Reference+Guide#JPAReferenceGuide-ExtendedPersistenceContextInheritance describes some changes th...more
2013-01-30T14:57:07CET
Romain Piel
Very cool, thanks for this great blog post! As I'm a github addict, I've added your starter project to a new git repo. I've linked the README to...more
2012-12-30T09:05:59CET
Ben
I'm trying to use Maven on a project, but have already built part of the Android project using the latest IntelliJ. Unfortunately I don't feel ...more
2012-11-30T21:23:31CET
kalu banda
Do you have a sample project which you set up to do this? I followed all your steps, I am unable to debug client side code still. Thanks,more
2012-11-15T10:25:33CET
Christian Bauer
Configuration for Hibernate 4.x: <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.inter...more
2013-01-04T17:47:00CET
[Cling, UPnP, DLNA, Java]
Christian Bauer

After one year of no updates, the first cut of the next major version of Java's top UPnP/DLNA library, Cling, is now available. You can download the ZIP or use 2.0-alpha1 in your Maven build.

What's new:

  • Dual-licensed under LGPL or CDDL, this should resolve any legal issues with packaging Cling in Android DEX/APK format.
  • Support for CDI, the Workbench app is now a full Swing/CDI application with a nice MVP pattern. We still have to write a simple Cling/CDI demo app and integrate GENA and CDI eventing.
  • New demo applications for Cling on Android, with source, available in the distribution and fully documented in the manual. Android platform level 15 is now required.
  • Much improved stability and interoperability; code from several production applications was contributed (thanks Michael Pujos!) and we now have lenient XML parsers and processors available.
  • New network transport based on Jetty 8 client and server, as any other popular HTTP client is unusable on Android.
  • (The bridge and osgi modules are not ready at this time and aren't included in the alpha1 release.)

Please give this new version a thrashing and report issues on the mailinglist.


2012-11-07T15:21:13CET
[Java, Web, REST, Hypermedia, XHTML, Seam]
Christian Bauer

XHTML has been one of my favorite text file formats for the last five years. This website uses it internally, try the same HTTP request with an .xhtml extension. I'm currently writing a book in my IDE in XHTML. All my Java unit tests have XHTML Javadoc, and I create my software manuals from and with XHTML. Even presentation slides I write in XHTML, with a simple 20 line Javascript player.


2012-06-02T19:40:26CEST
[Java, Hibernate, JPA, Specification, Java EE]
Christian Bauer

Recently, as I was working on the new edition of Java Persistence with Hibernate, one of my favorite issues made it again to the top of the list: How components in Java EE can share (or not share) a JPA persistence context. Other names given to the same problem are persistence context propagation, inheritance, etc. The persistence context is the centerpiece of JPA, it's how a JPA service guarantees a scope of object identity: when loadedEntityInstance == loadedEntityInstance is true or not. You'd imagine that the rules should be as simple as possible, as even Java object identity and equality is frequently a hurdle for many beginners.


2012-04-10T13:38:17CEST
[Java, Web, CDI, JAX-RS, Jetty, Weld, Wink]

A few years back I wrote the integration code for the now defunct Seam framework and RestEasy, a JAX-RS implementation. For a new prototype I've been looking at Wink as a JAX-RS provider, not least because it has WebDAV/APP/Atom/RSS support. I also want to manage component lifecycle and wiring with CDI, so I had to integrate Wink with Weld, the CDI reference implementation.


2011-10-20T10:44:53CEST
[UI, Web, HTML, CSS]
Christian Bauer

Some notes on how to create an HTML interface that works with all kinds of screen sizes popular today, no matter if it's workstation or portable. This solution relies on pure HTML/CSS, so IE6/7/whatever are out.


1to5of48nextend

Creative Commons License