Apr 07, 2011 — 5 comments
Why do we need to put Tomcat behind an Apache server? Such a solution is widely used to improve the performance of high-load environments. Being a fast, secure and flexible HTTP server and having a variety of modules, Apache easily provides some additional functionality for various purposes.
There are cases where an application must communicate with an external web service and most of the times the mapping between the application's domain objects and wsdl objects is manually done through custom converters and processors. Dozer framework is a mapping framework that simplifies the mapping between two objects and in this tutorial we will see how to map domain objects to XMLBeans generated wsdl objects.
AXIS2 is a widly used frameworkd and in this tutorial we will se how to use wsdl2code,xmlbeans,axis2 and maven to generate wsdl classes and web services client.
There’s little doubt that the digital age is the age of convenience and flexibility. However, we have also paid greatly for this modern marvel by compromising our privacy.
Factory Method pattern is a widely used design pattern that applications written in all modern programming languages such as Java or C# base their structure and implementation.In brief Factory Method Pattern is a class that creates objects.In general with Factory Method we have an interface or an abstract class which has common state and functionality and that delegates its instantiation to its subclasses.
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.
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?