Coder Social home page Coder Social logo

ngadde / jsf-on-spring-boot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephanrauh/jsf-on-spring-boot

0.0 1.0 0.0 391 KB

Small template projects to get started with JSF and Spring Boot quickly.

License: GNU General Public License v3.0

Java 66.55% HTML 33.45%

jsf-on-spring-boot's Introduction

JSF on Spring Boot

Small template projects to get you started with JSF and Spring Boot quickly. You may also be interested to read the article describing the project on the BeyondJava.net blog.

Run the Main.java class to start the server. The corresponding URL is http://localhost/index.jsf.

As a bonus, the project "Understanding Scopes" demonstrate the differences between the JSF scopes (including the more exotic sopes, such as @CustomScope or @NoneScope).

They also investigate several approaches to using Spring classes in a JSF class (also see my article http://www.beyondjava.net/blog/integrate-jsf-2-spring-3-nicely/).

Important note:

If the JSF views are shown without data from the back-end, check whether your IDE put the class files into the wrong folde.

For instance, Eclipse puts the class files into the wrong directory by default. You have to move them from "/bin" to "/src/webapp/WEB-INF/classes". The pom.xml and the .gradle files are a good start, but they aren't complete. To make things easier, I include the .classpath and .project files of Eclipse in this repository.

Update Oct 11, 2014: Good news for Maven users: The latest update of the Maven pom.xml files should make sure the folder setup is correct from start.

You can switch from Oracle Mojarra to Apache MyFaces by setting the variable useMyFaces=true in the .gradle file.

jsf-on-spring-boot's People

Contributors

stephanrauh avatar

Watchers

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.