Baratine is a flexible service framework based on application APIs. Because
of its flexibility, it can be used in many independent patterns, from
full single-page applications using Baratine as a responsive WebSocket
server, to in-memory data microservices powering a service tier, to
small solutions inside existing applications for queuing and singleton
Applications need services in different configurations. Some just need
small services in an existing application. Others need a dedicated server.
Baratine has three main deployment models:
- Servlet web-app for internal services
- Baratine server for distribution, in-memory and failover
- Embedded Baratine manager for internal services in any Java VM
While many of the Baratine patterns are useful in all three deployment
patterns, some of the more advanced patterns require a Baratine
server deployment for sharding, single-ownership and failover.
Several of the patterns are useful embedded in a non-service application,
for example the module service, and the singleton service.
Others are most useful deployed in a Baratine server cluster,
for example the sharded data store and failover services.
Single-Page Application Patterns