Apr 07, 2011 — 3 comments
When we are developing web applications we might come up with the case where the users must login to the application and let users access some pages according to their role (admin,registered user,guest etc).In this tutorial we will work on authorizing and authenticating users using Hibernate and Servlets/JSP.
Learn how to use actions in Struts2: - Sample action, - Actions extends ActionSupport, - Multiple actions.
Junit basics: - import libraries, - convention of testcase, - simple test example, - interfaces for the TestRunner, - run testcase, - jUnit Eclipse plugin.
In JPA the state of an entity can be accessed either by FIELD or PROPERTY.Those two access modes define the way that JPA will persist and initialize the entity with data from the database and in this tutorial we will see what access by FIELD and PROPERTY are and what @Access annotation is.
A tutorial on how to compress and decompress files and folders using Java APIs
Today we’ll focus on how an EJB remote client works with Java Bean deployed to Jelastic. This tutorial has been prepared for those readers who have some knowledge of Enterprise Java Beans technology.
A tutorial on how to create xml digital signatures
Apache TomEE provides you with the best technology stack that can be deployed to a simple Java EE container. It’s lightweight and at the same time is a full-blown application server, which remains simple and avoids architecture overhead. In the following tutorial you’ll learn the basics of web application development with the help of the Apache Struts framework, which is an absolutely free open-source solution for creating Java web apps.
A tutorial on how to use RestEasy with MongoDB in order to create RESTful web services
Previously we showed you how to schedule MySQL and MariaDB backups in the Jelastic Cloud, and now it’s time for a NoSQL solution. This tutorial is focused on creating an automatic MongoDB backup with the help of a cron scheduler.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?