What’s next

February 4, 2009

Debugging Java web applications

Filed under: Java — stigl @ 10:56 pm
Tags: , , , ,

Debugging Java web applications is often necessary, but setting it up on different vendors can be difficult.
However, there is a generic, easy way to do this by setting the JVM running the web server in debug mode.

Jetty and Maven

export MAVEN_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n"
mvn jetty:run

Set up your IDE for remote debugging on port 4000 and you’re laughing!

January 19, 2009

Neo4J as a Grails backend

Filed under: Grails,Java — stigl @ 3:07 pm
Tags: , , , , , , ,

This post is a reply to @EmilEifrem‘s twition.

Neo4J could be a nice extension as a Grails’ persistence backend, similar to a DB, space or LDAP. The problem today is that GORM is tightly coupled to Hibernate. Looks like @GraemeRocher is in the works of extracting Hibernate as a plugin, from which one can use other persitence plugins. Absolutely looking forward to that. (Graeme, please document what defines the folders which contain domain classes, controllers and views, so they can be changed!).

@Nawroth recommended using Neo4J through a JCR layer, though theres no implementation for Grails or Neo4J. The motivation for this is to be able to use the nice features such as MyPersonNode.find(), trinity.save() … Recommend watching this clip 4 intro to Grails.

What can be done today is just using the Neo4J jar in Grails as it is. But the magic of  GORM that makes Grails so different, compared to regular Java won’t exist…

January 7, 2009

Finally, a decent media server for PS3

Filed under: Uncategorized — stigl @ 9:29 pm
Tags: , , , , ,

I’ve been looking for a DLNA media server for streaming music and video to my PS3 for quite some time. And at last I can say that I’ve found a decent application for my streaming needs, PS3 Media Server. Most importantly, Its JAVA, Hooray!
What else? The application runs on Windows, Linux and mac, and is packaged with appropriate installers for the different OS’. Although the project builds on Ant, it could be worth looking into if it’s done nicely.
Now to solve the problem with my sluggish wireless network…

December 23, 2008

GStreamer – multimedia fun on a plugin architecture

Filed under: Architecture,Java — stigl @ 11:25 pm
Tags: , , , , , , ,

I’ve poked around GStreamer and the bindings for Java. GStreamer is a framework for “constructing graphs of media-handling components”. For example a video player from “scratch”. (more…)

December 21, 2008

GStreamer, can do streamed music?

Filed under: Uncategorized — stigl @ 12:00 pm
Tags: , ,

I’m going to take a dive into GStreamer, to find out if it is possible to use as a mixer for my music application needs. I’m going to input music from different sources, do some adjusting of volume, effects and write to file or stream to the net.
Can someone give me some pointers to GStreamer, and possibly on Java?


December 19, 2008

PS3 doing Java – Sexy, and almost there

Filed under: Uncategorized — stigl @ 11:50 pm
Tags: , , , , ,

The promise of what I have been investigating is that Java applications can be run directly inside the normal PS3 GUI, as well as other Blu-Ray players, without requiring any kind of hacks on behalf of the end user. It may not be the ultimate base for writing applications, but it should not be too hard to port applications, games and so on from other J2ME applications that exist for mobile phones and so on. Shoutcast player or Opera Mini on PS3 anyone? 🙂

This is a summary of developing Java applications on PS3 and Blu-Ray, in hope that someone else will pick up the loose ends.

December 9, 2008

Setting up a BD-J development environment sucks!

Filed under: Uncategorized — stigl @ 11:38 am
Tags: , , , , ,

I’ve recently looked at how one can set up a Blu-ray development environment for developing Java apps on a PS3.
The HDCookBook project seems like a good starting place, since you need alot of files to surround your BD-J Java apps when on the disk. Fine enough, but expect some hassle of changing file names if you want to put them on a memorystick.
Next step, run ant for compiling the project… You need to download “BDJ.jar”. You can find it AFTER INSTALLING NERO ON WINDOWS. Aaargh. Three hours later, we’ve found our bdj.jar.
Java ME SDK? It requires you to register at Sun… Ok, done that. Next step, Install sun_java_me_sdk-3_0-ea-win.exe on Windows. I HAVE A MAC!!! AHRG! Who needs multi-platform portable javacode when you can distribute it as .exe files!?

Do they even want people to develop on their platform? This is not inviting! And stop the stupid Ant stuff. Maven is the only way of distributing sourcecode and knowledge that works.

Java on PS3

Filed under: Java — stigl @ 10:00 am
Tags: , , , , ,

Today, I saw a Java Powered logo on the side of my PS3 box. Hmm… What does that mean?

If you install linux on the PS3, it can ofcourse run Java. But my sources indicate that it has little resources, and the requirements for installing are a little tough for the regular gamer.

The JVM installed on PS3 is placed there to meet the BluRay standard to show menus and stuff, called BD-J. From what I can gather after a quick Google, its an interpreted JVM, which is far slower than a regular Sun JVM. The PS3 is claimed to be one of the fastest, but probably not optimized in any way to cater for the multitude of Cell processors. And the BD-J does not help running Java applications in the web browser.

So, why would we want a native JVM on the PS3 specialized for Cell? Because it’s damn cool 🙂 Perhaps for running web servers. But a JVM capable of running Applets in the PS3 Web Browser could mean that Sony could capitalize on the enourmous amounts of Java games located on the web available freely to PS3 owners. Ofcourse, the native games will still have better funding and perform better, but allowing free applications could create the same community of developers and games as Apple has benefited from. Without the drawback of locking in developers to a single platform.


Apparently, running games off a USB memory stick works. Will be back with more on the subject

November 30, 2008

On demand development IDE plugin as a resource to the source code

Filed under: Uncategorized — stigl @ 10:41 pm
Tags: , , , , , ,

A cumbersome task which everyone who wants to join a software development project, opensourcy or enterpricy, is setting up the development appropriately. This is becoming more apparent due to the new programming and scripting languages and frameworks like Rails which pop up every now and then. We are getting somewhere (Maven 2)when it comes to making sure the source code compiles and runs out of the box. But the development environments still need to be downloaded, installed, and configured (allthough Maven can help here) and license keys entered.

However, there is hope! (more…)

November 5, 2008

Java applets churn random stalking app

Filed under: Java — stigl @ 10:59 am
Tags: , , , ,

wefeelfineTED has an interesting video presentation of the random-stalking application WeFeelFine.org, which scours the bloggosphere for unstable emo’s.

The important part is Java Applets as the choice of technology! 🙂 At a first glance, they have chosen to discard standard swing components for getting the custom look and feel.  But the use of Applets for a thick client and an opensaucy API makes me all warm and fuzzy inside. I will definitely poke inside the app and the technology stack “When I find time”

“I feel Java Applets”

Next Page »

Create a free website or blog at WordPress.com.