Answer: In EJB transactions can be maintained by the container or developer can write own code to maintain the transaction. If a developer doesn't want a Container to manage transactions, developer can write own code to maintain the database transaction.