GlassFish Workshop 1 Dynamic Languages in GlassFish Arun Gupta blogs.sun.com/arungupta.

Slides:



Advertisements
Similar presentations
Creating Web Services with Ruby on Rails Robert Thew Internet and Web Systems II.
Advertisements

Web applications using Java and NetBeans
1 JRuby on Rails GAO ANG Sun Functional Campus Ambassador 1.
An Evaluation of Current Ruby on Rails Serving Approaches Jeremy Witmer CS 526 Spring 2008.
27-Jun-15 Rails. What is Rails? Rails is a framework for building web applications This involves: Getting information from the user (client), using HTML.
Chapter 13 Web Application Infrastructure. Objectives Explain the components and purpose of a web application platform Describe several common webapp.
Apache Jakarta Tomcat Suh, Junho. Road Map Tomcat Overview Tomcat Overview History History What is Tomcat? What is Tomcat? Servlet Container.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Understanding and Managing WebSphere V5
RUBY ON RAILS It’s so rad. What we’ll cover  What is Ruby?  What is RoR?  Why RoR?  Developing with RoR  Deployment  Demo  Questions.
Deploying Ruby on Rails How to make your application actually serve Dan Buettner 18 Oct 2007.
OSGi.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
Java Servlets example using NetBeans 6. Pre-requirements: Install Java JDK 1.6 Install NetBeans IDE 6 (we will use version NetBeans IDE update 16)
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Ruby on Rails on Ubuntu Bradley Taylor Rails Machine, LLC
Ruby on Java Luc Castera
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Six Degrees of Separation Saahil Peerbhoy Amortya Ray Aaron Fernandes Ritika Virmani Swapneel Sheth Josh Poritz.
Unification and new developments of Geant4 (G)UI toolkits for educational applications New Geant4 Extensions Hajime Yoshida Shikoku University 2008 September.
1 Rails for the Ruby-Impaired John Paul Ashenfelter CTO/Transitionpoint.
Status Report Hans Wenzel Geant4 Validation repository weekly meeting 13 th April 2016.
Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.
Visual Mobile Applications with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Web Services with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Web Application Development with PHP in Netbeans 6.5 ● Angad Singh Campus Ambassador Tech Lead
Introduction to Java Web Programming Gregg Sporar
Visual Mobile Gaming Your Name Sun Campus Ambassador Your Address.
Enterprise Java Beans. Contents  Understanding EJBs  Practice Section.
NetBeans & Ruby David Botterill Software Engineer Global Technology Manager - Campus Ambassador Program Sun Microsystems, Inc.
Introduction to the NetBeans Platform Certified Training Course Geertjan Wielenga Sun Microsystems.
Scripting JSF The best of both worlds Ed Burns Senior Staff Engineer Enterprise Java Platforms.
1 NetBeans New and Cool Sun Microsystems, Inc.. 2 Goal of the Talk Learn how NetBeans IDE can help you become more productive Learn about the new features.
Presentation Title Up to Three Lines Long Arial 28pt Name, 26pt Speaker Company, 18pt Misc. Info, 16pt Speaker logo centered below photo.
GlassFish:The Application Server for All Your Web Apps Your Name OSUM Community Your Address.
JRuby on Rails Presenter Name
NetBeans Rich Client Platform Alex Kotchnev Software Developer Commerce Technologies Inc. Alex Kotchnev Software Developer Commerce Technologies Inc.
JMaki, Phobos Ludovic Champenois Sun Microsystems Tools story February 23, 2007.
JRuby on Rails Brian Leonard ブライアン レオナルド
Visual Web & AJAX with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Software Tools.
Chapter 13 Web Application Infrastructure
Admin Console for Glassfish v2
Physics validation database
Updatecenter Module 3 Application Server SE/EE 8.1 Installation
Google Web Toolkit Tutorial
Updatecenter Snjezana Sevo-Zenzerovic
Example of a Problem Statement: Introduction into ARENA
Ruby Tooling in NetBeans
NetBeans Extreme: Matisse, Profiling, Rich Clients and More
SQL Server + PHP: What’s New
An Evaluation of Current Ruby on Rails Serving Approaches
Admin Console for Glassfish v2
JRuby Charles Oliver Nutter
JRuby on Rails Charles Oliver Nutter JRuby Core Developer
Longtime Java developer More recent Ruby developer
JRuby It's What's For Dinner
Ruby, Rails, GUIs, and More
PHP / MySQL Introduction
Enterprise Java Bean. Overview of EJB View of EJB Conversation Roles in EJB, Types of Enterprise Beans Lifecycle of Beans Developing Applications using.
Example of a Problem Statement: Introduction into ARENA
Example of a Problem Statement: Introduction into ARENA
Introduction to JBoss application server
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Google App Engine Ying Zou 01/24/2016.
JavaServer Faces: The Fundamentals
Enterprise Java Beans.
Presentation transcript:

GlassFish Workshop 1 Dynamic Languages in GlassFish Arun Gupta blogs.sun.com/arungupta

GlassFish Workshop 2 Learn about Dynamic Languages and associated Web frameworks development and deployment in GlassFish

GlassFish Workshop 3 Agenda

GlassFish Workshop 4 Agenda

GlassFish Workshop 5 Ruby - a Dynamic-typed, pure OO language > 1.8.x is current, in development to become 2.0 Rails - a Web framework based on MVC pattern > Written in Ruby, Rails 2.1 released Jun 2008 > Typical Development: WEBrick > Typical Deployment: Mongrel + Lighty or nginx or... JRuby - Java implementation of Ruby language > Ruby compliant > JRuby released in Jul 2008 > Native Threading, Solid Performance Ruby and Rails

GlassFish Workshop 6 Typical Deployment Model Ruby Mongrel Rails Rub y Cod e Rail s OS Proc. Ruby Mongrel Rails... Web Server / Load Balancer

GlassFish Workshop 7 GlassFish v3 Gem Gem: Packaged Ruby application > Defined by RubyGems GlassFish Gem = v3 Core Runtime + Grizzly JRuby Adapter Experience similar to WEBrick For Development & Deployment > jruby -S glassfish_rails Small (2.68 Mb) Current Version: 0.3.1

GlassFish Workshop 8 GlassFish v3 Deployment Model GlassFish Grizzly Listener JRuby Rails JRuby Rails... Rails Adapter Web Adapter XXX Adapter

GlassFish Workshop 9 JRuby Runtime Pooling Create JRuby Runtime Load Rails Environme nt Add to Runtime Pool JRuby Rail s JRuby Rail s Gem Startup Repeat for # of runtimes needed

GlassFish Workshop 10 Directory-based Deployment Develop Rails application > NetBeans IDE > JRuby CLI Deploy directly on GlassFish v3 TP2 > asadmin deploy

GlassFish Workshop 11 WAR-based Deployment Using JRuby CLI > Install Warbler as a gem –jruby -S gem install warbler Using NetBeans IDE > Goldspike in NB 6.1, Warbler in NB 6.5 Deploy directly on GlassFish v2 or v3

GlassFish Workshop 12 Application Layout (Rails)

GlassFish Workshop 13 Application Layout (WAR)

GlassFish Workshop 14 WAR-based Rails Dispatching

GlassFish Workshop 15

GlassFish Workshop 16 Why Rails on GlassFish ? Java EE is tested platform > Co-host Java EE and Rails applications One-command, One-instance, One-process > “Green” alternative Database Connection Pooling OOTB Clustering, High Availability and Session Failover More details > ils_gf/

GlassFish Workshop 17 Agenda

GlassFish Workshop 18 Grails on GlassFish Supported on GlassFish v2 and v3 > Update Center Module > Grails 1.0.2, Groovy GlassFish v3 embedded with Grails > Unzip grails-glassfish-v3-overlay.zip on grails installation > Just run grails run-app-gf Groovy in JSF > Create JSF components in Groovy > Just code, save and refresh

GlassFish Workshop 19 Agenda

GlassFish Workshop 20 Django on Glassfish Jython community is back > Frank Wierzbicki is on top of it Plan on integrating Django with GlassFish v2 and v3 > Initial work is encouraging > Currently Django support comes through modjy and Jython > Tighter integration with GlassFish v3 in progress –Twisted, Grizzly

GlassFish Workshop 21 Agenda

GlassFish Workshop 22 JavaScript and Phobos Light-weight application framework Running on the Java platform Deploy to any Servlet container Current focus is JavaScript NetBeans integration

GlassFish Workshop 23 Agenda

GlassFish Workshop 24 End-to-end Demo (Tic Tac Toe) Multi-player game Played over Internet Using GlassFish Comet

GlassFish Workshop 25 Tic Tac Toe

GlassFish Workshop 26 For More Information Scripting in GlassFish Home > glassfish-scripting.dev.java.net GlassFish > glassfish.dev.java.net NetBeans IDE > netbeans.org WebTier Alias & Forum > > > (internal)

GlassFish Workshop 27 Dynamic Languages in GlassFish Arun Gupta blogs.sun.com/arungupta