Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MVC – Back to the Server

MVC – Back to the Server

adorsys Hack 'n Grill – 2016-03-10

Avatar for Florian Hirsch

Florian Hirsch

March 10, 2016

More Decks by Florian Hirsch

Other Decks in Programming

Transcript

  1. Goals Leverage existing Java EE technologies Integrate with CDI and

    Bean Validation Define a solid core to build MVC applications without necessarily supporting all the features in its first version Explore layering on top of JAX-RS for the purpose of re- using its matching and binding layers Provide built-in support for JSPs and Facelets view languages
  2. Non Goals Define a new view (template) language and processor

    Support standalone implementations of MVC running outside of Java EE Support REST services not based on JAX-RS Provide built-in support for view languages that are not part of Java EE
  3. Hello Controller @Path("hello") public class HelloController { @Inject private User

    user; @GET @Controller public String hello(@QueryParam("name") String name) { user.setName(name); return "hello.jsp"; } }
  4. SEO

  5. Complexity The older I get, the more I realize the

    biggest problem to solve in tech is to get people to stop making things harder than they have to be. 09:57 - 23 Sep 2015 2.779 2.455 (((Chad Fowler))) @chadfowler Folgen Read also: Command-line tools can be 235x faster than your Hadoop cluster
  6. Hello Angular Workspace Download Config 266 MB 2,2 MB 784

    loc 419 MB 13,8 MB 603 loc 197 MB ? 627 loc angular2-webpack- starter angular2-webpack angular2-minimalist- starter
  7. Performance In about 7 months average web page size will

    be same as Doom install image. Well done us! Onwards & upwards! 15:48 - 30 Jul 2015 4.049 1.819 ronan cremin @xbs Folgen