Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Web Applications

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Web Applications

During JavaOne I heard about Lift - a Scala web framework and wanted to try it. It claims to provide best of Rails(simple and fast development), Seaside(security), Django(access control by default) and uses Wicket for view templates. In few steps I had my first Lift web application running on GlassFish v3. Lift applicatin development process is Maven based and uses Derby as the default...
on May 16, 2008
WAR-based packaging and dispatching of Rails application on Java Application Servers is going through third iteration based what is used for packaging and dispatching: Goldspike + RailsServlet: The first iteration was WAR-packaging of Rails app as defined by Goldspike plugin (nee Rails-integration) and using RailsServlet (part of Goldspike) for dispatching. Warbler + RailsServlet: The...
on May 15, 2008
We now have a mailing list - webtier@glassfish.dev.java.net and forum dedicated to discuss user issues for the webtier of GlassFish. The intent is to use the mailing list and forum for discussing the webtier technologies including Servlets, JSP, JSF, JSTL, Grizzly and scripting support in GlassFish and build a community that focuses on webtier of the Java EE platform. Cross-posting from one to...
on May 14, 2008
In my previous post I described some of the pluggability mechanism being added to the servlet 3.0 specification. One of the issues that I didn't touch upon in detail was how the annotations and web-fragments are processed and how can one override / turn off the auto scanning of annotations and web-fragments. Greg Wilkins from Webtide blogged about the pluggability mechanism and raised an issue...
on May 14, 2008
In my earlier post I gave an overview of the things that are being worked upon in Servlet 3.0. This post focuses on one of the areas that the expert group has been working on - pluggability. Pluggability There are a lot of frameworks / libraries that are built on top of the servlet container. Most frameworks today require you to configure a servlet, filter or listener in the application's web....
on May 13, 2008
Last week at Community One day, the jMaki session included a couple of speakers from the community. It is great to see jMaki used in the real world. We had four speakers at our session and I'll admit it was a lot given we only had an hour. But I was excited to include both Jennifer Myers and Daniel Ziaoure since they are both using jMaki in their projects. The session was divided as...
on May 12, 2008
To prepare for our JavaOne session, GWT and jMaki: Expanding the GWT Universe, I decided I should add a jMaki Yahoo widget to a GWT application. Here is what I did. I wanted to start with an existing application and I chose the Java PetStore demo application which Greg had rewritten using jMaki widgets and GWT. The code for that application is in the jmaki-store project along with a README...
on May 12, 2008
Here's the Comet TicTacToe that I went over in my BOF on Comet on Wednesday night. It's pretty simple (though not as simple as my first example, or even the somewhat improved version) - just 200 lines of Java code (including the game logic), 50 lines of JavaScript (embedded in an HTML page), 50 lines of HTML, and a 75 line CSS file. Simple stuff, but if you're looking to write your own Comet...
on May 7, 2008
In my previous blog, I mentioned that I didn't like the hack of reloading the iframe via the post action - it's hacky, and it's not hard to imagine it messing things up in a more complex program. Turns out the answer is both easy and blindingly obvious once you think of it: the iframe onload event. And while we're add it, we'll add a onerror event too. In my previous program, I had had a...
on May 5, 2008
A newer version of GlassFish v3 Gem for Ruby on Rails is now available. What's new ? Codebase aligned with GlassFish v3 Technology Preview 2 Previous version (0.1.2) had some packaging issues which increased the size but now it's back to sweet 2.8 Mb. Check if previously installed by using the following command: ~/testbed/jruby-1.1.1 >bin/jruby -S gem list glassfish *** LOCAL...
on May 4, 2008
Vivek updated JRuby module in GlassFish v2 UR2 Update Center. It now contains JRuby 1.1.1 + Rails 2.0.2 and Warbler (instead of Goldspike) for packaging the app. Read all details on how to download, install and getting started here. The image below shows a snapshot of Update Center with the latest module selected: After following all the steps (had to manually set executable perms on jruby-1....
on May 3, 2008
I was looking at a recent blog by Shing Wai Chan and going through the Comet example, when I noticed that the example wasn't working correctly. Although he updated his example to get around that problem, I was still a bit unsatisfied, and decided to sit down, using his basic example, and see if I could make it even simpler. I've whittled it down to about 100 lines, and only 2 files, and I...
on May 1, 2008
Update: The early draft of the specification is now available at the JCP site. Click here to get to the draft. It's been a while since I put a post on the blog so I thought I would take this opportunity to give an update on the servlet 3.0 specification. The expert group has been working through to enhance the APIs in the servlet specification. This blog is to give an update to the developers...
on Apr 30, 2008
Community One day and JavaOne are just around the corner. Community One day is a free event so we hope you will come out and learn about jMaki, GlassFish and NetBeans. Come to Moscone Center on Monday May 5 for many interesting sessions. Greg and I will be speaking along with some folks from the community. Session: jMaki: The power of Ajax made easy. Time: 12:25- 1:20 Room : Hall E, 133...
on Apr 28, 2008
grailsexample Sample Store Catalog using using Groovy and Grails This Catalog Sample app demonstrates the usage of Groovy and Grails to implement pagination of data sets for a Store Catalog. download Catalog sample code Overview of the Technologies and Frameworks in the Sample Application Grails aims to bring the "coding by convention" paradigm to Groovy. It's an open-source web...
on Apr 28, 2008
Rails powered by the GlassFish Application Server explains all the benefits of using GlassFish for developing and deploying your Rails applications. If you are using NetBeans 6.1 builds then you can deploy your Rails application directly on GlassFish v3 from within NetBeans IDE. No longer you need to have different development and deployment options. This blog explains how to install a bleeding...
on Apr 28, 2008
TOTD #30 explained how to create CRUD application using Grails and hosted using in-built Jetty servlet engine and in-memory HSQLDB database. Jetty and HSQLDB are built into Grails and allows to start easily. You can also use GlassFish and MySQL for deploying your applications in production environment. This blog entry walks you through the steps of deploying a Grails application on GlassFish...
on Apr 23, 2008
After a simple Grails application, let's create a CRUD application. Such an application allows to perform basic database operations to read table rows from the database, create new rows, and edit and delete existing rows. This blog shows how such an application can be created using Grails, hosted on built-in Jetty servlet engine and use in-memory HSQLDB database for persistence. A follow-up...
on Apr 22, 2008
Take a look at how crowded were the talkings me and Ted Goddard had. I think this is a good sign about how promising Comet is. First, we showed how Comet (Ajax Push) can be used with ICEFaces and Google Web Toolkit. Then, Ted had a whole talking about asynchronous web. And here we are! :-) If you want to find more about this, don't miss our talkings at JavaOne2008. BOF-4922 Writing Real-...
on Apr 22, 2008
From proof-of-concept to production in 8 weeks, WorldxChange Communication NZ's online billing system is another succes story of JRuby and GlassFish v2. The portal is designed solely using NetBeans 6.1 IDE. Here are some of the quotes from the completed questionnaire: From my perspective, the main advantage was that I could deploy my JRuby project war file directly to Glassfish,...
on Apr 21, 2008