Friday, November 23, 2007

JRuby (and ActiveHibernate) at JavaPolis

It's nice to see that JRuby is getting the attention it deserves at JavaPolis:

And, while on the topic of ActiveHibernate, I have added support for lazy loading of entities and support for Hibernate components (aka aggregation in Rails):

class Address
attr_accessor :street
attr_accessor :city
end

class Person
include Hibernate
primary_key_accessor :id, :long
h_component :address,[[:street,:string],[:city,:string]]
end

I'll use the time that's left before JavaPolis to polish (i.e., clean up and extend the tests) the functionality that is in there today.

Anyway, I'm looking forward to meeting the JRuby team in Antwerp.

26 comments:

venkat said...

Hello Johan:

Nice work on ActiveHibernate so far. One of our new products use Rails over JRuby with whole bunch of areas written using Hibernate ORM as well.

Had an interesting thought. Instead of tying ActiveHibernate to specifically Hibernate, if one can use the javax.persistance annotations generate a proxy class, we can change the underlying implementation from hibernate to toplink and other solutions easily. Essentially it would become ActiveJPA of sorts.

Not sure how big a change it would be from your current code base.

Hopefully I want to spend sometime to volunteer patches to ActiveHibernate.

Regards,
Venkat.

johan andries said...

Hi Venkat,

the creation of the Hibernate mapping XML is nicely seperated from the Ruby mapping DSL, so plugging in your annotated proxies should be possible without to much problems. I do think, however, that things like second level caching, lazy collection loading, tracking object identity, persistent state, etc. will be much harder when you proxy the IRubyObjects. What I like about the current solution is the simplicity of the Hibernate integration.

But if you can get it working, I would certainly be interested!

Cheers,

Johan.

venkat said...

Hello Johan:

Thanks for the response and thoughts.

Regards,
Venkat.

Bill Burke said...

Johan,

Been meaning to contact you for awhile. How's Active Hibernate going? Would be very interested in talking with you about it. can you pop me an email?

bburke@redhat.com

Vita Rara said...

Johan,

Is ActiveHibernate still alive?

Mark

johan andries said...

Mark,

I guess ActiveHibernate is pretty much dead... Of course the code is still there in case anyone wants to continue with this.

The problem is that with each new version of JRuby (and, to a less extend, Hibernate) the AH code breaks because it relies on the internal implementations of the frameworks.

Johan.

Anonymous said...

Hello !.
might , probably very interested to know how one can manage to receive high yields .
There is no need to invest much at first. You may commense to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you need
The firm represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with affiliates everywhere: In USA, Canada, Cyprus.
Do you want to become a happy investor?
That`s your choice That`s what you wish in the long run!

I feel good, I began to take up income with the help of this company,
and I invite you to do the same. If it gets down to select a proper partner who uses your funds in a right way - that`s AimTrust!.
I earn US$2,000 per day, and what I started with was a funny sum of 500 bucks!
It`s easy to join , just click this link http://jywameso.freecities.com/ucydane.html
and go! Let`s take our chance together to become rich

Anonymous said...

Hi !.
You may , probably very interested to know how one can reach 2000 per day of income .
There is no initial capital needed You may commense to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you need
The firm incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with offices around the world.
Do you want to become a happy investor?
That`s your chance That`s what you really need!

I`m happy and lucky, I began to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to choose a correct companion utilizes your funds in a right way - that`s AimTrust!.
I earn US$2,000 per day, and what I started with was a funny sum of 500 bucks!
It`s easy to get involved , just click this link http://ebecovyco.easyfreehosting.com/kyxebic.html
and go! Let`s take our chance together to become rich

Anonymous said...

Hello !.
might , probably curious to know how one can collect a huge starting capital .
There is no initial capital needed You may commense earning with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
The company incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with offices everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your chance That`s what you wish in the long run!

I feel good, I started to get real money with the help of this company,
and I invite you to do the same. It`s all about how to select a proper partner utilizes your money in a right way - that`s AimTrust!.
I earn US$2,000 per day, and what I started with was a funny sum of 500 bucks!
It`s easy to join , just click this link http://ybewyzel.jamminweb.com/aqorika.html
and lucky you`re! Let`s take our chance together to become rich

Anonymous said...

Hello !.
You re, I guess , probably very interested to know how one can reach 2000 per day of income .
There is no need to invest much at first. You may begin to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you need
The firm incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with affiliates everywhere: In USA, Canada, Cyprus.
Do you want to become really rich in short time?
That`s your choice That`s what you desire!

I feel good, I began to get real money with the help of this company,
and I invite you to do the same. If it gets down to choose a proper companion utilizes your money in a right way - that`s the AimTrust!.
I earn US$2,000 per day, and my first investment was 500 dollars only!
It`s easy to start , just click this link http://igazodiq.exactpages.com/vowylym.html
and go! Let`s take this option together to become rich

Anonymous said...

Hello !.
You re, I guess , probably very interested to know how one can reach 2000 per day of income .
There is no need to invest much at first. You may commense to receive yields with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
The company represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

Its head office is in Panama with offices everywhere: In USA, Canada, Cyprus.
Do you want to become an affluent person?
That`s your chance That`s what you wish in the long run!

I`m happy and lucky, I began to take up income with the help of this company,
and I invite you to do the same. It`s all about how to select a proper companion who uses your money in a right way - that`s it!.
I take now up to 2G every day, and what I started with was a funny sum of 500 bucks!
It`s easy to start , just click this link http://ugobobahy.freewebsitehosting.com/ozofiv.html
and lucky you`re! Let`s take this option together to get rid of nastiness of the life

Anonymous said...

Good day, sun shines!
There have been times of troubles when I felt unhappy missing knowledge about opportunities of getting high yields on investments. I was a dump and downright pessimistic person.
I have never imagined that there weren't any need in large starting capital.
Nowadays, I feel good, I begin to get real income.
It's all about how to choose a proper companion who uses your funds in a right way - that is incorporate it in real business, and shares the income with me.

You may get interested, if there are such firms? I'm obliged to answer the truth, YES, there are. Please be informed of one of them:
http://theblogmoney.com

Anonymous said...

Good day, sun shines!
There have were times of hardship when I felt unhappy missing knowledge about opportunities of getting high yields on investments. I was a dump and downright pessimistic person.
I have never imagined that there weren't any need in large starting capital.
Nowadays, I feel good, I started take up real income.
It gets down to choose a correct partner who uses your funds in a right way - that is incorporate it in real deals, and shares the income with me.

You can ask, if there are such firms? I have to answer the truth, YES, there are. Please get to know about one of them:
[url=http://theblogmoney.com] Online investment blog[/url]

Anonymous said...

Good day, sun shines!
There have were times of hardship when I didn't know about opportunities of getting high yields on investments. I was a dump and downright pessimistic person.
I have never thought that there weren't any need in big starting capital.
Now, I feel good, I started to get real money.
It's all about how to select a proper companion who uses your money in a right way - that is incorporate it in real deals, and shares the profit with me.

You can get interested, if there are such firms? I'm obliged to tell the truth, YES, there are. Please be informed of one of them:
http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

I just found the website who discuss about
Several
home based business reviews

If you want to know more here it is
home business reviews
www.home-businessreviews.com

Anonymous said...

Hello!
You may probably be very curious to know how one can manage to receive high yields on investments.
There is no need to invest much at first.
You may commense to get income with a money that usually is spent
for daily food, that's 20-100 dollars.
I have been participating in one company's work for several years,
and I'll be glad to let you know my secrets at my blog.

Please visit my pages and send me private message to get the info.

P.S. I earn 1000-2000 per day now.

http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

Hello everyone!
I would like to burn a theme at this forum. There is such a nicey, called HYIP, or High Yield Investment Program. It reminds of financial piramyde, but in rare cases one may happen to meet a company that really pays up to 2% daily not on invested money, but from real profits.

For quite a long time, I earn money with the help of these programs.
I'm with no money problems now, but there are heights that must be conquered . I make 2G daily, and I started with funny 500 bucks.
Right now, I'm very close at catching at last a guaranteed variant to make a sharp rise . Turn to my web site to get additional info.

http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

[u][b]Xrumer[/b][/u]

[b]Xrumer SEO Professionals

As Xrumer experts, we secure been using [url=http://www.xrumer-seo.com]Xrumer[/url] quest of a long leisure for the time being and know how to harness the colossal power of Xrumer and turn it into a Banknotes machine.

We also provide the cheapest prices on the market. Diverse competitors devise order 2x or consistent 3x and a destiny of the continuously 5x what we pervade you. But we have faith in providing prominent service at a tearful affordable rate. The unbroken point of purchasing Xrumer blasts is because it is a cheaper substitute to buying Xrumer. So we train to stifle that thought in rebuke and outfit you with the cheapest rate possible.

Not only do we have the best prices but our turnaround in the good old days b simultaneously for the treatment of your Xrumer posting is wonderful fast. We intention pull someone's leg your posting done in the forefront you distinguish it.

We also cater you with a roundish log of loaded posts on contrasting forums. So that you can notice over the extent of yourself the power of Xrumer and how we hold harnessed it to help your site.[/b]


[b]Search Engine Optimization

Using Xrumer you can think to distinguish thousands upon thousands of backlinks exchange for your site. Myriad of the forums that your Install you intent be posted on get exalted PageRank. Having your tie-in on these sites can deep down expropriate build up some crown rank help links and uncommonly as well your Alexa Rating and Google PageRank rating utterly the roof.

This is making your put more and more popular. And with this increase in popularity as well as PageRank you can keep in view to appreciate your milieu really downright high-pitched in those Search Mechanism Results.
Traffic

The amount of see trade that can be obtained nearby harnessing the power of Xrumer is enormous. You are publishing your plat to tens of thousands of forums. With our higher packages you may equivalent be publishing your site to HUNDREDS of THOUSANDS of forums. Visualize 1 collection on a popular forum drive by enter 1000 or so views, with announce ' 100 of those people visiting your site. Now imagine tens of thousands of posts on fashionable forums all getting 1000 views each. Your freight longing withdraw sometimes non-standard due to the roof.

These are all targeted visitors that are interested or curious nearly your site. Deem how innumerable sales or leads you can achieve with this colossal figure up of targeted visitors. You are truly stumbling upon a goldmine bright to be picked and profited from.

Retain, Shipping is Money.
[/b]

GO YOUR INFERIOR BURST TODAY:


http://www.xrumer-seo.com

Anonymous said...

[B]NZBsRus.com[/B]
Dont Bother With Sluggish Downloads With NZB Files You Can Swiftly Search High Quality Movies, Console Games, MP3 Singles, Applications and Download Them @ Rapid Speeds

[URL=http://www.nzbsrus.com][B]NZB[/B][/URL]

Anonymous said...

[B]NZBsRus.com[/B]
Forget Sluggish Downloads Using NZB Downloads You Can Swiftly Search Movies, Games, MP3 Singles, Applications & Download Them @ Rapid Speeds

[URL=http://www.nzbsrus.com][B]NZB[/B][/URL]

Anonymous said...

[B]NZBsRus.com[/B]
Dismiss Crawling Downloads With NZB Files You Can Hastily Search High Quality Movies, Games, MP3 Singles, Applications & Download Them @ Flying Speeds

[URL=http://www.nzbsrus.com][B]NZB Search[/B][/URL]

Anonymous said...

Vertical of win Our Risqu‚ Prices at www.Pharmashack.com, The Unrivalled [b][url=http://www.pharmashack.com]Online Chemist's [/url][/b] To [url=http://www.pharmashack.com]Buy Viagra[/url] Online ! You Can also Emphasize to Measureless Deals When You [url=http://www.pharmashack.com/en/item/cialis.html]Buy Cialis[/url] and When You You [url=http://www.pharmashack.com/en/item/levitra.html]Buy Levitra[/url] Online. We Also Natter a Peerless Generic [url=http://www.pharmashack.com/en/item/phentermine.html]Phentermine[/url] As a disburden to Your Nutriment ! We Up Beefy chance maker [url=http://www.pharmashack.com/en/item/viagra.html]Viagra[/url] and Also [url=http://www.pharmashack.com/en/item/generic_viagra.html]Generic Viagra[/url] !

Anonymous said...

Make the subhuman with two backs casinos? digging this fresh [url=http://www.realcazinoz.com]casino[/url] recommendation and control a withstand up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also adduce a lead minus upward of our additional [url=http://freecasinogames2010.webs.com]casino[/url] control at http://freecasinogames2010.webs.com and subsist true to pitch genially long-way-off !
another another [url=http://www.ttittancasino.com]casino spiele[/url] faction is www.ttittancasino.com , in compensation german gamblers, bloomer in protected from online casino bonus.

Anonymous said...

Genial brief and this fill someone in on helped me alot in my college assignement. Thank you seeking your information.

Anonymous said...

Dear Paul,

For long time I use this freeware: [url=http://www.freeflvtomp3converter.com]FLV to MP3 free converter[/url].

FLV to MP3 free converter is a free YouTube, MegaVideo, Hallpass and similar video sites to MP3 Converter and allows you to convert a video to MP3 file.

This software is fast, free, and requires no signup. All you need is a FLV Video file, and this software will extract the MP3, and give you an audio file.

So you are able to listen to your favorite YouTube tracks on every MP3 player.

You can download it for free at [url=http://www.freeflvtomp3converter.com]www.freeflvtomp3converter.com[/url].

I hope this help you.

Anonymous said...

Glad to materialize here. Good day or night everybody!

Let me introduce myself,
my name is Nikolas.
Generally I’m a venturesome analyst. recently I take a great interest in online-casino and poker.
Not long time ago I started my own blog, where I describe my virtual adventures.
Probably, it will be interesting for you to find out about my progress.
Please visit my web site. http://allbestcasino.com I’ll be glad would you find time to leave your opinion.