NetBeans is not a platform, but a development environment. It executes Java and other code so you can develop your software successfully. In "real life" you would distribute your code as a .jar. But I am sure you can use NetBeans to develop code using Hibernate and a database. Don't know how to myself, I am afraid.