📜 ⬆️ ⬇️

Vraptor3 - MVC framework originally from Brazil

On October 4, release 3.0.0 of an interesting MVC framework for java web development V | Raptor was released .

I stumbled upon it by chance when I studied the details of the JForum implementation, the developers of which actively used VRaptor2 as the core for their engine.

At first, it didn’t seem to me to be anything special - some Brazilian (!) Team does an opensource project, the default language on the site is Portuguese, the domain vraptor.org will immediately be redirected to some vraptor.caelum.com.br ...
')




But then hooked that Vraptor2 works fine in the Google App Engine , that for modern Java technology is not such a frequent phenomenon. At least, such frameworks and technologies as JBoss Seam, Wicket, new JAX-RS implementations (Jersey, RESTEasy) either do not work in GAE, or require a file for a simple demonstration of a stable launch, which, of itself, is alarming.

After a quick acquaintance, it became even more interesting - the guys are determined to skim the cream from well-proven solutions, such as JBoss Seam, Stripes, Webwork, Hibernate Annotations, JAX-RS ...
DI, IoC, POJO + annotations are used actively and on the case. By itself, AJAX attention is not deprived. The main goal is simplicity and speed of learning. For particularly lazy, instead of a 10-minute guide to action, they give one-minute .

VRaptor can be considered a lightweight version of the functionality provided by JBoss Seam, JSF, JAX-RS, Spring Web Flow and others. Modern successful frameworks. And the fact that it is compatible with GAE allows you to run your own full-featured SOA + REST CRUD on a large web almost immediately and for free.

To download, besides the VRaptor 3.0.0 release itself, a GAE project skeleton and a working example are offered.

With respect to the previous version in version 3 there is quite an interesting one, for example @Component and Resource are spaced apart which was seriously lacking earlier. It is evident that the project is actively developed by people not without talent.

Among the shortcomings we can point out the excessive simplicity of DI (however, there is integration with the omnipresent Spring), incompleteness of documentation (and generally the English prefer the Portuguese, twitter you don’t read, the forum is also not very specific), underdevelopment of what is called the Ecosystem (however, progress is) .

But in terms of a quick and easy start, they are definitely lucky, the simplicity and at the same time the functionality is fascinating. At least I am already ready to actively use this framework for my own (for fun) development under GAE, several small projects (not for open use, unfortunately, since they are used as back-end services in the working draft) are already running.

UPDATE: Descriptions of experience with heavier artillery .

Source: https://habr.com/ru/post/72230/


All Articles