Adam Bien's Weblog

Glassfish (Java EE 5), RMI, Groovy, Java FX, Sun Spots contribute to C02 reduction - approval of project "greenfire"

Since about 2 years the heating is controlled and optimized by a relatively simple Java EE 5 application. It gathers every 5 minutes the weatherdata, house temparature, heating sensor data and decides what to do. Beyond the optimization I have now the ability to access the weather data from the last 2 years and compare the results. Internet access via RSS is possible as well. With simple optimizations like prioritization of heating sources (solar panels, main heating etc.), cooling the solar panels in summer with the basement heating etc. I was able to reduce the amount of energy about 10-30% (actually much more, but I still cannot believe it :-)). After realizing this, I decided to opensource the whole software.

GreenFire Logo

[thanks to Kinga Bien for the logo]

 I checked-in yesterday the heating integration modules. Several modules are still waiting for check in. Of course use the project greenfire to try out some patterns and approaches as well (why not having fun with saving the evironment? :-)). My next leisure activity will be to integrate the Sun Spots and build a Java FX frontend. The project is really mission critical as well: we have winter in bavaria now - it means minus degrees....

Some project goals:

The main goal is obvious: the highest possible energy saving and so CO2 reduction. However to achieve the goal following technologies/APIs are used:
- Glassfish V2 and Java SE 6, however GreenFire is fully Java EE 5 compatible and can be ported to other application servers
- JSR-223 (Scripting Integration) in Java EE 6 / 6 environment for the implementation of flexible rule systems
- Reporting
- EJB 3 timer service
- Java EE compatible hardware integration
- SunSPOT and sensor network integration
- Java FX together with Swing and EJB 3
- Speech synthesizer integration (FreeTTS)
- Management and monitoring over the internet
- Mobile device integration
- Integration of Multi Media Center Systems 

At the oop conference in munich I will introduce the project greenfire and delving into the implementation. Project greefire was initially built as a sample application for the Enterprise Architekturen book, however it is in "production" now.


NEW workshop: Java EE 7 and Java 8, January 27th, 2015, Airport Munich

A book about rethinking Java EE Patterns

Comments:

You probably mixed up christmas and april 1th? ;-)

Great idea and very likely a great implementation.
I will regularly check the svn for new check-ins.

Posted by Roman Broich on December 19, 2007 at 11:34 PM CET #

Hi Roman,

thanks -> perhaps we can integrate your heating as well :-).

I just have to clean up the code and check in the modules. I'm working now on Java FX frontend and SunSpot integration,

regards,

adam

Posted by Adam Bien on December 20, 2007 at 11:08 AM CET #

Just read through the project idea and I am amazed!

I will keep my eyes on this and give it a try.
We use here gas heating, solar cells and solar panels for warm water and energy production.

Also as a Java Developer the usage of Java FX is interesting, heared a lot of it, saw some examples but no real world applications :-)

Posted by Werner on December 20, 2007 at 11:55 AM CET #

Werner,

I will introduce GreenFire at the oopconference and explain in detail how it works. I just uploaded a screenshot of the RSS-feed to: http://greenfire.dev.java.net
Java FX will be "just another frontend". I have RSS, Swing and Reports now...

regards,

adam

Posted by Adam Bien on December 20, 2007 at 12:56 PM CET #

How was the presentation?

Will the slides be open available? I had no chance to participate :-(

Posted by Werner Gaulke on January 23, 2008 at 04:13 PM CET #

I have overseen the slides, they are available here:
https://greenfire.dev.java.net/files/documents/7928/83435/heatingcontrol_greenfire_abien.pdf

Posted by Werner Gaulke on January 24, 2008 at 07:01 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
License