» tagged pages
» logout
Hibernate
Return to Hibernate

Hibernate GroupBlog

(or Cancel)

(Editing anonymously: to be credited for your changes, login or register a new account)

other page actions:

Tags Applied to this Topic

No one has tagged this page.

Software development and data management: the groupblog of the Hibernate Team

Thursday, August 28, 2008

Hibernate sister projects aligned with Core 3.3.0

After the release of Hibernate Core 3.3.0.GA last week, we are releasing aligned versions of its sister projects. These releases are primarily ensuring that everything works property on Core 3.3. They also improved a few other things:

  • use of slf4j as the logging facade eliminating classloader headaches
  • all projects are now deployed in the JBoss Maven repository under org/hibernate with their proper pom.xml files. Hopefully, the dark ages of Hibernate dependencies for Maven are behind us (we are still looking at pushing the JBoss repository changes to the central Maven one but it takes longer than expected: check the Hibernate development mailing list for more info)
  • the build system is more modular and lets you work on each project independently making contributions much easier
  • the regular set of bug fixes (check the change logs for more details)

The following releases are now available:

  • Hibernate Annotations 3.4.0.GA (changelog)
  • Hibernate EntityManager 3.4.0.GA (changelog)
  • Hibernate Commons Annotations 3.1.0.GA (changelog)
  • Hibernate Validator 3.1.0.CR2 * (changelog)

* A small glitch slipped through when we released Hibernate Core. Be sure to use Hibernate Validator 3.1.0.CR2 or above when using Core 3.3. We wanted to take our time fixing this, Validator CR2 will become GA in a week if no problem pops up.

All projects can be downloaded here.

Note that Hibernate Search 3.1.0.Beta1 is already aligned with Hibernate Core 3.3.0.GA.

Enjoy

Thursday, August 28, 2008

JBoss Tools 3.0.0 Alpha1: Ganymede, pages.xml, Portlet, TPTP, BIRT,...

Today we are releasing JBoss Tools 3 Alpha1!

[Embedded Image]

Alpha Warning!

This is an alpha version so do not just throw us away when your computer blows up while using this version, do please tell us what happened! Getting feedback from users are very important for us.

Use the Forums and/or JIRA to provide feedback. Thank you!

Upgrade to Ganymede

This release will only work with Eclipse 3.4/Ganymede.

We recommend you do not use Eclipse.org update site to go from Eclipse 3.3 to Eclipse 3.4 - instead download the full binary from Eclipse. To get the optional TPTP and BIRT integration to show up see the list of Eclipse drivers we used for JBoss Tools 3.x here

If you can only use Eclipse 3.3 use JBoss Tools 2.1.2, but JBoss Tools 2.x will not have any of the new features.

Highlights

There is a lot going on in 3.x, but the following are the new feature highlights:

  • Graphical Seam pages.xml editor, visual view and editing of page and exception navigation
  • Faster editing in Visual Page Editor and the source tab is back!
  • EL Variable substitution, allowing users to specify what a EL variable should be evaluated too; allowing includes and image references in pages that uses EL to be visualized.
  • Project archives can use relative paths and Eclipse variables allowing for more portable .packages files
  • Dali support for Hibernate, use Hibernate as a JPA platform in Eclipse JPA projects.
  • Portlet wizard and facet with support for JSF/Seam via the Portlet Bridge
  • JBossWS WTP support, enable usage of JBossWS in WTP web services functionality
  • Eclipse BIRT support, we added a Hibernate backed datasource for Eclipse BIRT and experimental Seam/JSF tags for using BIRT charts and reports.

...and more. See the full change list in jira and see more details and screenshots in What's'New

Have fun!

p.s. the JBoss Tools Drink is one of the suggestions we got for a JBoss Tools identity - I'll blog about that later, but if you got other suggestions let us know.

Thursday, August 28, 2008

JSF2 or: How I learned to stop worrying and love components

It's been a while since I wrote about JSF, but over the past few weeks I've been working hard on JSF 2, trying to bring some of the lessons we learnt in Seam back to the expert group. Invariably, this leads to an improvement of the idea, as we've all had to solve the same problems, often with slightly varying solutions.

With so many issues up in the air for the expert group to consider, we at JBoss created a a wiki page which we use to manage where our top objectives are going. The expert group has spent a lot of time working on everyone's top priorities of Ajax, Easy Component Creation, and standardizing Facelets. So, I've made it my mission to work on proposals for some of other objectives (like exception handling and navigation). It's not quite finished, but I thought others might like to take a look and share their thoughts on our ideas.

Please comment on the wiki page itself :-)

Thursday, August 28, 2008

Please stand clear of the closing doors, this train is ready to depart - Seam 2.1.0.BETA1 released!

I'm pleased to announce the release of Seam 2.1.0.BETA1.

This is an exciting day for us, as we get to show off what we've been working on for the last 6 months, since the dust settled around the Seam 2.0 release. So, what should you look for?

  • First class support for Wicket - check out the all new Wicket example. I'll be posting a tutorial on using Wicket with Seam in the next week or two
  • Identity management - built in, flexible, support for managing users in a database (via JPA) or LDAP (or build your own store frontend!)
  • Permission management - now you've got ACL permissions (stored using JPA) in addition to rule based permissions and simple permissions
  • Create reports in Excel and CSV using JSF tags and Facelets templates
  • Built in support for URL rewriting
  • Initial support for JAX-RS (JSR-311) - the REST API for Java, through RESTeasy
  • A big speed improvement to SeamTest, and you can now run it at the same time as JBoss AS
  • Ability to deploy your own resources when Seam boots (you can watch for annotations, file name patterns, file content - the list is endless!)
  • Customizing the default interceptor stack - watch for a tutorial on this in the next few weeks
  • Support for JBoss Cache 1.x or JBoss POJO Cache 1.x in JBoss AS 4.2, JBoss Cache 2.x in JBoss AS 5, and EHCache (of course, you can also use JBoss Cache in other app servers!)

And of course, we got the usual plethora of updates, such as:

  • Groovy 1.5
  • RichFaces 3.2

Not to forget the massive 279 issues closed since 2.1.0.ALPHA1!

And finally, I would like to introduce to you four new community contributors to Seam, who have joined the team over the last few months; Matt Drees, Jacob Orshalick, Nicklas Karlsson and Daniel Roth (Nik and Daniel are responsible for the Excel module, excellent work guys!)

Tuesday, August 19, 2008

3.3.0.SP1

3.3.0.GA got released the other day with an uncaught problem. A public method got removed from some of the events (specifically PreInsertEvent and PreUpdateEvent) which is causing problems with Hibernate Validator and which will probably cause problems for any applications utilizing custom listeners for those events.

Therefore, later today I will be releasing 3.3.0.SP1 to correct that oversight. I apologize for any inconveniences.

The SP1 release has been done and is available as either the full distribution from SourceForge or as artifacts from the JBoss Maven repository.

Monday, August 18, 2008

Talk about Web Beans and Hibernate scalability

I will be talking about Web Beans at JSF.One September 4-6 in Washington and QCon San Francisco 2008 about Hibernate and scalability.

The Web Bean talk is an introduction to the elegant loosely coupled strongly typed component model that Web Beans introduces. After a brief intro, I will walk through examples to demonstrate how each concept is used in practice. Depending on how advanced the reference implementation is, I might try to make some of these live.

The second talk will cover Hibernate and Scalability. I will co-present with Max Ross from Google (one of the engineers behind Hibernate Shards). We will cover various subjects:

  • stateless session
  • how Software as a Service providers scale Hibernate in their platforms
  • some of the patterns that ensure better scalability
  • Hibernate Shards and how to scale to many DBs
  • Hibernate Search and how to save your DBA's butt

Hope to see you there!

Friday, August 15, 2008

Hibernate Core 3.3.0 goes GA

Hibernate 3.3.0.GA has been released. A big thanks to everyone who helped us get here.

A few changes from 3.2 worth noting:

  1. Migration to a Maven-based build
  2. Splitting of the project into modular jars (here I mean what Maven calls modules). This allows users to easily see and minimize dependencies.
  3. Redesigned second-level caching SPI
  4. Integration with JBossCache 2.x as a second level cache provider.

I'll be following up with more detailed blogs about some of the specific points.

You can download the full distribution from SourceForge or make use of the Maven artifacts from the JBoss Maven repository.

Friday, August 08, 2008

First JBug in Denmark with JBoss Seam and Tools

[Embedded Image]

On the 28th August, Pete and I will be presenting at the opening of the first JBoss User Group in Denmark.

We will be talking about JBoss Seam, Web Beans and JBoss Tools/Developer Studio.

You can see the full schedule at jbug.dk (in Danish).

Kenneth Christensen and Søren Pedersen who is organizing the event tells me that they only have five seats left so hurry up if you want in on the action.

Vi Ses!

Wednesday, August 06, 2008

Developing Portlets using JSF, Ajax, and Seam

Tuesday, August 05, 2008

Home of dan

Tuesday, August 05, 2008

JBUG Munich

Just waiting for my flight back to Sweden after being invited to present Hibernate Search at the monthly JBUG Munich meeting. I was pleasantly suprised that despite school holidays a respectable crowd showed up for the meeting. The feedback was throughout positiv and hopefully there are now a few new Search convertees spreading the word in Munich.

One question which popped up was whether the performance of Hibernate Search is somehow quantifiable. Of course the same applies here for Hibernate Search as for Core (see http://www.hibernate.org/15.html) - each application is different and it is hard to find a fair and compareable benchmark. I wonder though whether some specific benchmarks similar to the ones posted on the Lucene homepage would make sense.

Last but not least - the highlight of the evening - German wheat beer after the presentation. That alone was worth the trip ;-)

--Hardy

Monday, August 04, 2008

Seam Podcast up on DZone

DZone just posted an interview with me about Seam.

We spoke for a few minutes about Seam, and some of the features of Seam 2. Then we moved on to talk about the upcoming Seam 2.1, how it will support other view layers, and where JSF is going. Finally we spent a few minutes talking about Web Beans, and what it will mean for Seam users.

The site has both a transcript, and the audio.

Friday, August 01, 2008

Maintenance releases - commons-annotations, annotations and entitymanager

Without much ado I am happy to announce the following releases:

  • commons-annotations 3.1.0.CR2
  • annotations 3.4.0.CR2
  • entitymanager 3.4.0.CR2

Being maintenance releases there is not much to say about them. Changes to commons-annotations and entitymanager are minimal with most work being put into bug fixes in Annotations. Check out the change logs if you want to know more.

BTW, all these new releases are aligned with Steve's 3.3.0.CR2 release of Core.

Monday, July 28, 2008

RESTEasy support now available in Seam

The RESTEasy project is an implementation of JAX-RS. I've just committed the docs for the first step of the integration into Seam. You need a nightly build of Seam 2.1 trunk (wait until tomorrow for updated docs in the nightly build) or better a current SVN trunk checkout.

Some of the integration highlights:

  • No configuration files necessary, just drop the JARs into your classpath and deploy @Path annotated resources.
  • Fully integrated RESTEeasy configuration as regular Seam infrastructure component.
  • HTTP requests are served by Seam, no need for an external servlet.
  • Resources and providers can be Seam components (JavaBean or EJB), with full Seam injection, lifecycle, interception, and so on.

We have some other items on the TODO list, see this wiki page. If you have any ideas or suggestions you'd like to see for that integration, just edit the wiki page.

Monday, July 28, 2008

Hibernate and Seam meeting in Tuscany

Last week we had the good fortune of having a Hibernate and Seam team meeting.

Despite of the following pictures, the week was really productive and we got all to meet up and put faces to new and old people. I also got a bunch of working pictures but they are boring ;)

The topics of discussions were broad but mostly about road map's and action items for Seam and Hibernate, WebBeans and related tooling. You will start seeing the results of these talks on the forums and in upcoming release in the near future.

Now onto the fun part...

The actual meeting were in Tuscany, Italy near a city named Chiusi.

[Embedded Image]

We rented a farmhouse which had a great view over a sunflower field.

[Embedded Image]

And it had a great pool too.

[Embedded Image]

I unfortunately could not get to Tuscany before Wednesday so I missed out on the Hibernate meeting, so I only managed to get a few shots of the Seam meetings.

We got all the Seam related JBoss employees there, but we had also invited a couple of external contributors.

One of those who made it despite being in the middle of most holidays were Dan Allen:

[Embedded Image]

Apparently Dan is a professional diver, but that did not stop Rich Sharples:

[Embedded Image]

nor Jay Balunas:

[Embedded Image]

Nothing like taking a swim after having discussed tech!

Dinner were mostly done by Shane, The Australian Chef and Seam security Wizard in beginning of the week; but because of my late arrival I missed out on it and only attended a Shane breakfast:

[Embedded Image]

And i'm sure Gavin, Jay, Norman, Emmanuel, Marek, Christian, Steve, Rich, Ales, Samuel, Rodney, Hardy, Gail, Chris, Anthony and Dan all would like to say thanks to Shane for the great food and just as big a thanks to Pete for doing all the arrangements - it was definitely the best location ever for a team meet up I've been at.

Now back to work...

Monday, July 28, 2008

Rich Faces 3.2.2 Beta 1 and Beta 2

We've started to build 3.2.2 betas.

Beta 1 could be found at:

And Beta 2 has been deployed to:

New features list could be found at

Short list of new features:

  • validation components
  • hotKey component
  • state management API
  • Tree drag and drop API

Samples could be found in SVN in trunk samples folder. richfaces-demo samples also already commited as drafts to svn.

Monday, July 21, 2008

JBoss Tools 2.1.2 and other news

I noticed that there have been a lot of JBoss Tools related news going on while I were on vacation (maybe I should stay on vacation ?)

First off we got JBoss Tools 2.1.2 out which has some important bug fixes. Don't forget to use our patch to WTP to get proper JEE behavior when deploying ejb3 jars, see details here.

And No, this version is not for Eclipse 3.4/Ganymede - it is for Eclipse 3.3/Europa. JBoss Tools 3.0 will target Ganymede; I'll blog about that version later.

JBDS 1.1.0.GA which includes JBoss Tools 2.1.2 is also available now.

Other News

Max Katz's from Exadel got his Using JBoss Richfaces with JBoss Developer Studio from JavaOne posted on DZone.

DZone also posted a podcast interview (audio and transcript) with me talking about JBoss Developer Studio

Edem Morny posted instructions on how to get Tomcat 6 working with the Seam support in JBoss Tools on his blog.

Finall, Snjezana Peco from JBoss (JBoss Tools) is working on enabling Profile action for our JBoss AS adapters in JBoss Tools 3, but if you want to know how to do it with any version of JBoss Tools then take a look at this forum post where Snejana explains the steps for enabling TPTP profiling.

Thursday, July 17, 2008

Hibernate Search 3.1.0 Beta1: .., better, faster, ...

It has been a long time since an Hibernate Search release but we have not been lazy. We are pleased to announce 3.1.0 Beta1 with tons of new features and enhancements. This release uses Lucene 2.3.x and works with Hibernate Core 3.3, Hibernate Annotations 3.4 and Hibernate EntityManager 3.4. Here is a list of some of the major new features and enhancements:

  • more flexible analyzer support (see below)
  • the Hibernate Search engine is no longer tied to Hibernate Core (see below)
  • performance enhancements on projections (Hibernate Search is now as fast as pure Lucene)
  • performance enhancements in the object loading algorithm (when multiple object types are requested)
  • better memory management on large index copies
  • better mass indexing approach by explicitly flushing changes to indexes via a programmatic API (deprecating the old batch_size approach)
  • better resource sharing through the shared-segments reader provider strategy
  • better and more transparent filter caching solution
  • access to more Lucene features including term position, similarity and query explanations
  • simplification of configuration (events)
  • more built in bridges

Hibernate Search let's you define analyzers declaratively and decouple tokenizer and token filters usage thanks to the Solr analyzer framework. It is now very easy to index a field for phonetic, synonym, snowball (stemming) and many more. A small dependency bug has leaked in this beta1 version. You will need to replace apache-solr-analzers.jar by a full solr distribution jar you can download at apache.org if you ant to use @AnalyzerDef on some filters.

The core engine is now abstracted form Hibernate Core thanks to the job done by Navin, our Google Summer of Code student. Hibernate Search is now the JBoss Cache full-text search engine (more on that in a later post) and is now open to support alternative data stores (including other ORMs).

We will likely post new entries to zoom on some of these features.

Hibernate Search in Action already reflects most of the new features and will describe all of them in the near future.

Many thanks to all contributors and particularly Hardy and Sanne who did a tremendous job. Go try it out here and let us know what you think on the forum.

Thursday, July 03, 2008

An afternoon of Seam in London

On Monday afternoon I will be talking about Seam and Web Beans at the UK JBoss User Group in London.

The programme starts at 14:30, and I'm speaking at 15:00. I'll give a short intro to Seam, and then move on talk about future - Seam 2.1 and Web Beans.

More info here...

Wednesday, June 25, 2008

Google Maps and Seam

Over on Thinking in Seam, I've been running a series on working with Google Maps using Seam and I thought it would be an idea to put the links to the series in order on here.

First part of the process is to add a tag onto the map using the GMap tag from the RichFaces tag library. This processed is described on Markers in Google Maps.

Secondly, a little note on UK postcodes with Google Maps (in that, due to licensing issues, they do not work).

Next up is how to populate your Google Map - be warned, it's a big article! Also, there's the follow-up article in which a couple of issues I discovered after posting the original article are addressed.

Enjoy!

Page 1 | Next >>
Username:
Password:
(or Cancel)