Giter Club home page Giter Club logo

javacro's Introduction

javacro 2014

This is the official repository for my conference talk from the Java Cro 2014 ( http://javacro.org/ ), Porec, Croatia. See my talk details on the program schedule http://javacro.org/monday-2014-05-12/

The original title was Scala and Java EE 7 Development Experiences

Peter Pilgrim โ€“ Java Champion, Independent Contractor

Installation

Download and install Gradle 1.12 or better http://gradle.org/

Download GlassFish 4.0.1 from https://glassfish.java.net/

Install Scala

gzip -dc scala-2.10.tgz | (cd /Library/opt; tar xvf - )

Install Gradle

unzip gradle-all-1.11.zip -d /Library/opt

Install WildFly

gzip -dc glassfish-4.0.1-b05.tar.gz | (cd /Library/opt; tar xvf - )

Set up your login shell script (BASH ~/.bash_profile) and your PATH environment variable

export SCALA_HOME=/Library/opt/scala/scala-2.10.4

export GRADLE_HOME=/Library/opt/gradle-1.12

export GLASSFISH_HOME=/Library/opt/wildfly-8.0.0.Final

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java

PATH=${SCALA_HOME}/bin:${GRADLE_HOME}/bin:${WILDFLY_HOME}/bin:${JAVA_HOME_HOME}/bin:${PATH}

Building The Project

Use Gradle to compile the project. In order to build the entire project as it now stand, issue the command:

gradle build

To clean the project and reset it, issue the command:

gradle clean

To generate the WAR file for deployment, isse the command:

gradle war

If you want to work in an IDE (IntelliJ IDEA or Eclipse), issue these commands to generate the necessary project files:

gradle idea gradle eclipse

Build

See my Java EE 7 Developer Handbook published by Packt Publishing (1st Published on Friday 20 September 2013 http://www.packtpub.com/java-ee-7-developer-handbook/book

Scala and Java EE 7 Development Experiences

Scala is an alternative JVM language with both object-oriented and functional programming paradigms. Scala development with the Java EE 7 platform is definitely possible and can be a pleasant experience. If you have uncertainty about how Scala can fit around the Java EE 7 platform, then this session aims to illustrate the huge benefit that Scala adoption can bring to the platform...

Scala language overview Java EE 7 architecture and design WildFly 8 application server TODO Using Gradle as a build tool How to create beans in Scala with dependency injection JAX-RS endpoints Servlet Endpoints JMS Messaging Scala adoption advice and hints for sustainable team development

Read more http://javacro.org/sessions/#scala

;-)

javacro's People

Contributors

peterpilgrim avatar

Stargazers

Milad Khajavi avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.