independent prototyping with java
Question: I am new to java (well I played with it a few times), and I am wondering:

=> How to do _fast_ independent prototypes ? something like one file projects.

The last few years, I worked with python. Each time I had to develop some new
functionality or algorithm, I would make a simple python module (i.e. file)
just for it. I could then integrate all or part of it into my projects. So,
how should I translate such "modular-development" workflow into a java
context?

Now I am working on some relatively complex java DB+web project using spring,
maven and intelliJ. And I can't see how to easily develop and run independent
code into this context.

**Edit:**

I think my question is unclear because I confused two things:

  1. fast developement and test of code snippets
  2. incremental development

In my experience (with python, no web), I could pass from the first to the
second seemlessly.

For the sake of consistency with the title, **the 1st has priority**. However
it is good only for exploration purpose. In practice, the 2nd is more
important.


Answer: Definitely take a look at [Spring Boot](http://docs.spring.io/spring-
boot/docs/1.2.2.RELEASE/reference/htmlsingle/#getting-started-introducing-
spring-boot). Relatively new project. Its aim is to remove initial
configuration phase and spin up Spring apps quickly. You can think about it as
convention over configuration wrapper on top of Spring Framework.

It's also considered as good fit for micro-services architecture.

It has embedded servlet container (Jetty/Tomcat), so you don't need to
configure it. It also has various different bulk dependencies for different
technology combinations/stacks. So you can pick good fit for your needs.

