Andrej Koelewijn

  • Home
  • About
  • Departments
    • cloud
    • java
    • mobile
    • open standards
    • oracle
    • oss
    • other
    • soa
    • software development
    • tablet
    • Uncategorized
    • web
  • Subscribe via RSS

java

« Previous Entries
Next Entries »

Howto: Grails, REST, Google App Engine and JQuery

June 26th, 2009  |  by akoelewijn  |  published in java, soa, web

Here’s a quick example how you can build a RESTfull Grails application and deploy it to Google App Engine. For this example you need Grails 1.1.1 and GAE SDK for Java version 1.2.1.
I’m going to create a small service which will return a wind forecast. The forecast data is hardcoded as this is just some [...]

Oracle best thing that could happen to JavaFX?

April 20th, 2009  |  by akoelewijn  |  published in java, oracle

Oracle is probably the biggest user of the java applet technology. Oracle Forms runs as an Applet in the browser. Now, Oracle Forms isn’t the hippest tool ever, people have been expecting it to die for a couple of years. But it’s still around. Mainly because Oracle still uses Forms in their Oracle E-Business Suite.
Recently, [...]

Oracle buying Sun: what does it mean for Open Source?

April 20th, 2009  |  by akoelewijn  |  published in java, oracle, oss

So Oracle just bought Sun. At first look it might seem like closed source versus open source. Most of Oracle’s well known products are closed source, whereas most of Sun’s products are open source. But that’s not the full story. Oracle is also involved in Open Source. It just takes a different approach.
There are a [...]

Google AppEngine to support Java

April 8th, 2009  |  by akoelewijn  |  published in java

Google just announced that their AppEngine will support Java. The good new: AppEngine is going to use a fairly regular JVM, with some functionality disabled like sockets and file writing. It should support other languages that compile to bytecode, like Scala or JRuby. No mention of Groovy, but i hope that’ll work soon too. Update: [...]

Groovy example: ActiveMQ broker and Apache Camel

March 11th, 2009  |  by akoelewijn  |  published in java, oss, soa

I’m still playing around with groovy scripting. It’s an excellent way to quickly prototype some ESB scenarios. Last week i blogged about using groovy to write files to a gtalk account using Apache Camel, the example below shows you how to start an ActiveMQ broker, which persists messages to a PostgreSQL database. An Apache Camel [...]

Article on jQuery and Grails

March 11th, 2009  |  by akoelewijn  |  published in java, oss, soa

The latest release of Java Magazine contains an article i wrote titled: Client Server 2.0 with jQuery and Grails. Unfortunately, not all code examples fitted into the magazine. You can download the complete article, including screenshots and sourcecode here: Client Server 2.0 met jQuery en Grails (dutch).

OpenOffice Python API much nicer than Java API

February 18th, 2009  |  by akoelewijn  |  published in java, open standards, oss

I wrote a small Python program today, to see if a could create a workaround for a problem i have in Java. I’ve written a couple of Java applications that use OpenOffice’s API to create ODF and MS-Word documents. The OpenOffice API that i used in Java is pretty horrible: very verbose, not intuitive. You [...]

How to find true cause of com.sun.star.uno.RuntimeException?

February 17th, 2009  |  by akoelewijn  |  published in java, oss

I’m stuck with OpenOffice. I’m hoping somebody can help me with this. I’ve also posted the question to the OpenOffice.org forums and to StackOverflow, but so far no luck.
I’m trying to replace a field in an openoffice document using the OpenOffice java api. I’m using the insertString method:

xText.insertString(((XTextField) fieldMaster).getAnchor(), value.toString(), false);

The stacktrace is [...]

Targetting different environments with Grails

February 4th, 2009  |  by akoelewijn  |  published in java

Mainly as a reminder to myself, here’s how you target different environments with grails.
Grails knows about three environments out of the box: development, test, production. When you create a war file you can specify the environment after the grails command:

grails test war

Sometimes, (actually quite often), you have more environments. For example a user acceptance testing [...]

Ivy support in Grails 1.1

January 30th, 2009  |  by akoelewijn  |  published in java

I was just going through the Grails 1.1 beta 3 release notes and found that Grails 1.1 is not only going to support Maven but also has Ivy support for those who prefer using Ant.
Good news in my opinion. I still use Ant quite a bit, on projects that are not standard enough to be [...]

« Previous Entries
Next Entries »

Tags

bi bpel camel cep css dsl esb esper google governance grails groovy gtalk html5 innovation internet ipad ivy java javascript jaxrs jersey jigsaw jquery linkeddata linux maven middleware mule noiv openoffice openweb oracle osgi oss plsql rdbms rest soa sql sun tablet web 2.0 xmpp yql

Archives

  • August 2010
  • June 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Posts

  • Nice Java Decompiler tool: JD
  • VMware Player: The virtual machine is busy.
  • Adding a maven repository for installing features to ServiceMix
  • Upgrade Apache Camel in ServiceMix to version 2.3.0
  • A composite Rest service using Apache Camel

Categories

  • cloud
  • java
  • mobile
  • open standards
  • oracle
  • oss
  • other
  • soa
  • software development
  • tablet
  • Uncategorized
  • web

Recent Comments

  • Buddhika on Using google talk from java example
  • Anonymous on A composite Rest service using Apache Camel
  • Guest on How to find true cause of com.sun.star.uno.RuntimeException?
  • Absent Code attribute in method that is not native or abstract « Gooder Code - web development blog, php, java, asp.net, html, javascript on Absent Code attribute in method that is not native or abstract
  • Rmfume on Oracle best thing that could happen to JavaFX?
Buzz
andrkoel: RT @monkchips: James Governor's Monkchips » Day of The Dead: Web Drives Strong Demand for Java Skills http://monk.ly/d4UlND
9:17 PM Sep 03, 2010, comment
andrkoel: RT @monkchips: In which my business partner @sogrady explains Why You Should Pay Attention to Node.Js http://monk.ly/a4aGIP serverside # ...
3:06 PM Sep 03, 2010, comment
andrkoel: RT @stilkov: http://bit.ly/cDdqgl - AWS Identity and Access Management — I'd hate to have to compete against Amazon's Cloud offerings
8:47 AM Sep 03, 2010, comment
andrkoel: Twitter for ipad is nice, but i still think i need a tool to summarize all info, something like feedly or flipboard is the future
8:36 AM Sep 02, 2010, comment
andrkoel: Trying out the new twitter for ipad... Curious how the panels work.
8:32 AM Sep 02, 2010, comment
 


©2010 Andrej Koelewijn
Powered by WordPress using the Gridline Lite theme by Graph Paper Press.