Giter VIP home page Giter VIP logo

ember-java's Introduction

Ember - JEE REST

This project shows how to mix Ember.js and Java to create a very simple application using the DS.RESTAdapter from Ember Data library.

Other Technologies used

This application depends on other technologies beyond the scope of Java. Therefore, I assume that you have this tools installed and know how to use them:

  • Maven
  • ruby
  • RubyGems

Will be helpfull if you know something about tools that concatenate and minify or compress JavaScript and CSS assets like this one rake-pipeline.

Building

First, run bundle to install the dependencies necessary to compile the static assets (CSS, JS, HTML). The Assetfile is configured to output the files located on app directory to the target/public/ directory.

Then execute mvn jetty:run to run the application on port 8080. This target executes the command bundle exec rakep at the validate phase, as configured in the exec-maven-plugin plugin section from pom.xml file.

Development

When you execute the command bundle exec guard, the app directory will be monitored and every file modification on this directory starts the rake-pipeline process. This process updates the target/public/ directory and you can call <Cmd + R> or <Ctrl + R> to reload on the browser. This is useful when you need a fast development enviroment.

This is one of de advantages of use Ember with Java, because you don't need to restart you app while modifying only the views, and scripts.

ember-java's People

Contributors

brunorg avatar

Watchers

 avatar  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.