java - Scala Lift Servlets within WebServer compilation -


i want learn scala , on real project. project needs logic wrapped within web server. made tests embedded jetty , it. time making next step scala. interesting combination below you'll recommend me?

1) embedded jetty + java servlets + scala;

in combination can bake "main" web server within java code , use servlets web requests/responses; , core project's logic can written on scala , can imported "main" web server logic java package;

2) embedded jetty + lift + scala;

do not write java code, write "main" web server logic on scala lift framework; core project's logic can still written on scala;

what advantages of each combination see?

thank advice!!!;)

this old post, , might have decided way go, here few things can point out.

  1. today's web applications have many things such database access, session management, integration client side program using ajax , on. in sense, #1 doesn't much. need write lot of code scratch.
  2. i lift lot. though, unique features , concepts might confuse when you're new scala.
  3. there other alternatives raging ones in scala world such scalatra , play ones in java world such spring.

i hope help,

kk


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -