X

web2.0

web2.0

TOTD #104: Popular Ruby-on-Rails applications on GlassFish v3 – Redmine, Typo, Substruct

GlassFish v3 is opening up new frontiers by allowing to easily deploy Rails, Grails and Django applications, in addition to Java EE, without any additional...

GlassFish v3 is opening up new frontiers by allowing to easily deploy Rails, Grails and Django applications, in addition to Java EE, without any additional packaging. You can even write a custom container to support new types of applications. Numerous entries on this blog have talked about how to deploy Rails applications on GlassFish v3. This Tip Of The Day (TOTD) will recap them and, once again, demonstrate how to easily get started with deploying some popular open source...

web2.0

TOTD #91: Applying Java EE 6 "web-fragment.xml" to Apache Wicket - Deploy on GlassFish v3

"Extensibility" is a major theme of Java EE 6. This theme enables seamless pluggability of other popular Web frameworks with Java EE 6. Before Java EE 6, these...

"Extensibility" is a major theme of Java EE 6. This theme enables seamless pluggability of other popular Web frameworks with Java EE 6. Before Java EE 6, these frameworks have to rely upon registering servlet listeners/filters in "web.xml" or some other similar mechanism to register the framework with the Web container. Thus your application and framework deployment descriptors are mixed together. As an application developer you need to figure out the magical descriptors of...

web2.0

TOTD #91: Retrieve JSON libraries using Maven dependency: json-lib

So you need to include JSONlibraries in your Maven project. The only option that seems to becurrently available is using json-libwith the...

So you need to include JSONlibraries in your Maven project. The only option that seems to becurrently available is using json-libwith the following dependencies:       <dependency>           <groupId>net.sf.json-lib</groupId>           <artifactId>json-lib</artifactId>           <version>2.3</version>           <classifier>jdk15</classifier>       </dependency>The APIs are based upon the original work done at json.org/java.If you are using NetBeansfor adding the Maven...

web2.0

TOTD #89: How to add pagination to an Apache Wicket application

TOTD#86 explained how to get started with deploying a Apache Wicketapplication on GlassFish.This Tip Of The Day (TOTD) will showhow to add pagination to your...

TOTD#86 explained how to get started with deploying a Apache Wicketapplication on GlassFish.This Tip Of The Day (TOTD) will showhow to add pagination to your Wicket application.The blog entry "JPA/Hibernate and Wicket Repeating Views with Netbeans"Part1 and 2explain in detail how to create a CRUD application using NetBeans, JPA,Hibernate and Wicket. This blog uses the data created in TOTD#38 for the database table.After creating the JPA Controller, adding the IDataProviderand...

web2.0

TOTD #88: How add pagination to Rails - will_paginate

This Tip Of The Day (TOTD) explainshow to add pagination to your Rails application.Create a simple Rails scaffold as:~/samples/jruby>~/tools/jruby/bin/jruby-S...

This Tip Of The Day (TOTD) explainshow to add pagination to your Rails application.Create a simple Rails scaffold as:~/samples/jruby>~/tools/jruby/bin/jruby-S rails paginate~/samples/jruby/paginate >~/tools/jruby/bin/jrubyscript/generate scaffold book title:string author:string~/samples/jruby/paginate >seds/'adapter:...

web2.0

TOTD #87: How to fix the error undefined method `new' for "Rack::Lock":String caused by Warbler/JRuby-Rack ?

If you are using Warbler to create a WAR file of your application and deploying on GlassFish or any other Servlet container, then you are likely seeing the...

If you are using Warbler to create a WAR file of your application and deploying on GlassFish or any other Servlet container, then you are likely seeing the following error during deployment: [#|2009-07-30T15:29:50.788-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=17; _ThreadName=httpWorkerThread-4848-0;_RequestID=1d7e8f18-1c9a-4924-bd0b-6a07eba425ba;|WebModule [/session]unable to create shared application...

web2.0

TOTD# 86: Getting Started with Apache Wicket on GlassFish

ApacheWicketis an application framework to build web applications usingHTML for markup and POJOs to capture the business logic andallother processing. Why...

ApacheWicketis an application framework to build web applications usingHTML for markup and POJOs to capture the business logic andallother processing. Why Wicketdigs more into the motivation behind this framework.This Tip Of The Day (TOTD) shows howto create a simple Wicket application and get itrunning on GlassFish:Create a Wicket project...

web2.0

Rails on GlassFish - "most performant of all", "simpler and just works", "blazing speed"

Here are some quotes about running Rails applications on GlassFish from user@jruby mailing list: I find the glassfish gem to be the most performant of all --...

Here are some quotes about running Rails applications on GlassFish from user@jruby mailing list: I find the glassfish gem to be the most performant of all -- and I don't need to war-up my app. I also have some mongrel cluster stuff, but glassfish is simpler and just works. Voila...blazing speed, can handle lots of traffic. Note that I am also cominging into apache from a dyndns name. So, whatever IP I have, I can go straight to execution on the glassfish gem and NO warring...

web2.0

TOTD #85: Getting Started with Django Applications on GlassFish v3

GlassFish v3 is an extensible App server. Basically the core App serverfunctionality can be easily extended using add-ons such as an OSGimodule. This allows to...

GlassFish v3 is an extensible App server. Basically the core App serverfunctionality can be easily extended using add-ons such as an OSGimodule. This allows to keep the core light-weight and install therequired features on demand. The add-ons can be easily installed usingthe UpdateCenter. The what/why/how about extensibility is described inthe GlassFishv3 Extensibility One-pager.GlassFish v3 provides support for Dynamic Languages and Web Frameworkssuch as Ruby-on-Rails,...

Oracle

Integrated Cloud Applications & Platform Services