Apr 07, 2011 — 5 comments
Compressing web pages with gzip can have significant effects on website performance.With gzip web pages are compressed before server response is sent to the browser and in this way bandwidth usage is decreased a lot. With Ehcache we can achieve gzip compression with more than one ways.
There are definitely many fine editors that can be easily integrated into java-based web applications but one of the most widely used and well known editors is surely FCK editor -CKEditor now-.There has been created a tag library for CKEditor called FCKeditor.Java Integration and in this tutorial we will see how to use this tag library in your JSPs and how to upload image files etc through CKEditor.
In this article we will address how to protect an application running on a Tomcat server in Jelastic. We recommend two possible solutions on how to restrict access to your app by requesting the user authentication or just denying the access for specified IP addresses. You can choose one of them or use both methods together.
Rome framework is one of the most popular APIs for creating and reading rss feeds.In this tutorial we will see how to implement an rss feed stream with feeds created from database entries. As an example for this tutorial the rss stream will consist of the tutorials of java-only.com
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.
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?