Skip to content
Archive of posts filed under the Java Development category.

Deploying an app on Glassfish via Apache Ant

So you want to deploy onto Glassfish 3 using apache ant? One very simple method to use is the following: <java jar=”${path.J2EE}/../modules/admin-cli.jar” fork=”true”> <arg line=”deploy –force=true warnamehere.war”/> </java> Here ${path.J2EE} points to the app server’s library directory -> glassfish/lib This simply invokes glassfish’s deployment mechanism using one of the glassfish admininstration jars. It is not […]

EJB persistence in a ThinWire web application

So it seems a ThinWire web application can quite easily be integrated with more advanced Java EE features. In the screenshot below you can see an updated version of my testing environment. The application now has a screen to query and update a MySQL database via a remote EJB session bean. This shows that the […]

ThinWire progress

Over the last few days I’ve been working on developing an application designed to assess the potential of the ThinWire RIA platform as a tool for building production quality rich web applications. The platform makes producing an application from scratch relatively effortless. There is some initial set-up involved – including removing the Mac files and […]

Building a ThinWire application – prelude

The first important note to make about the ThinWire RIA platform is that it comes with fully buildable example applications. By fully buildable I mean straight out of the box you can delve into the applications, alter and redeploy them. This may seem like a commodity where learning a new platform is concerned but many […]

Petition to save MySQL or damage Oracle-Sun merger?

A very quick post as a response to this petition hailed elsewhere as a righteous thing for open-source database MySQL: My take – brilliant; put yet another spanner in the works delaying Oracle’s acquisition of Sun and therefore jeopardise all of Sun’s products including Java which put simply seems to me much more important […]

Web application architecture

As a way of keeping my knowledge of web applications fresh in my mind, this is a quick post on the architecture of common web applications, taking into account the varied scale of such applications. While I’ll refer in particular to the Java Enterprise Edition based (J2EE) solutions, the principles of structuring an application are […]

GWT-ext common problems – the null pointer

I’ve been working a lot lately with the Google Web Toolkit Extensions rich user interface platform (GWT-ext). While I don’t have the time to cover many of the issues relating to general usage of the API, from time to time I hope to post some useful information about it. Using GWT and the extension is […]

Some screenshots of my MenuBuild application

I’ve gradually been developing my menu building application into a distributed web system. It uses OpenLaszlo for the building front-end, java & jsps for the database storage and retrieval facilities and OpenLaszlo to correctly display the menu from provided settings. Here’s a few screenshots to spice up this at times rather bland blog! Some nice […]

Deploying OpenLaszlo Applications – a crash test manakin’s guide

I’ve just finished a swiftly written article on how to deploy openlaszlo applications. It covers the deployment methods provided to run your applications on a web server and explains a little bit about the mechanism in which OpenLaszlo server operates. The specific methods used are by no means the only way you can go about […]

Java FX first impressions

After spending a few hours scratching the surface of JavaFX I have mixed feelings about it as a platform for developing client side applications. It is definately a vast improvement on applets and the fact that you can deploy an application compatible with so many possible client machines and browsers is great (assuming you use non-client specific […]

Managing database connections – DataSource connection pooling

So following on from the last post – I’ve now employed a simple but essential technique called connection pooling, using a DataSource, in the project. A DataSource is an abstract java class that was created for those writing JDBC drivers to extend in order to provide a developer a highly extensible way of interacting with […]

Optimisation of Java and JDBC

Just a quick post about a topic relevant to my current coursework. I have been working on a project that requires the import of a large amount of legacy (initial) data into an SQL database, and then providing various searching facilities. Due to the size of the data, large amounts of queries are required and […]

JavaFX – client side fancyness

Fancy object oriented image editing JavaFX is Sun’s recently released platform for rich graphical web applications. It can be implemented much in the same way Adobe (formerly Macromedia) Flash and ActionScript were used in visually rich websites. I say were as Flash usage has diminished somewhat compared to a few years ago were you couldn’t […]

Microsoft’s .NET web platform for Java Developers

Here’s my artcile giving a brief summary of the Microsoft .NET web platform, aimed at Java developers with prior experience of web applications: Microsoft’s ASP.NET and C# for Java developers It is by no means an extensive look into .NET web technologies and is not a full comparison but hopefully it will give developers an […]