You are here: Platform Specific Issues > Web Environment

Web Environment

db4o runs perfectly well in a web environment. It can be used to build your web-application.

In most web-application multiple concurrent requests are processes. Normally you want to isolate each request from another. You can use db4o transactions to archive this isolation. See "Isolation in Web-Applications"

In most web-applications a object is only alive during a request. So you have to identify objects across requests. Therefore you need to add an additional id to your object. There are different possibilities for this. See "Disconnected Objects"

When you run in a web-environment, you often have stricter security limitations. Take a look at the security requirements. See "Security Requirements"

Take a look how you create a object-container for each request. See "Servlets"

Take a look at a small example Spring MVC application.See "Spring MVC Example"