Introduction to Logging in Tomcat 7
Logging services play a vital role in the life of the administrator and developer to manage the application from the phase of development to production issues. It's the logging services that help you to find the actual problem in the web application. Also, it plays an essential role in performance tuning for many applications.
In this artice by Tanuj Khare, author of Apache Tomcat 7 Essentials, we will look at the logging features in Apache Tomcat 7. We will cover the following topics:
- Logging services in Tomcat 7
- JULI
- Log4j
- Log level
- Valve component
- Analysis of logs
Common API in Liferay Portal Systems Development
This article by Jonas X.Yuan, author of Liferay Portal Systems Development will introduce user management and password policy first. Then it will address authentication and authorization. LDAP and SSO integration will be introduced afterwards. Tracking and auditing services API will be addressed in detail after this. Finally, it will address scripting engine, polling, web services, WSRP, and the OSGi framework.
By the end of this article, you will have learned about the following:
- User management
- Password policy
- Authentication and authorization
- LDAP and SSO
- Tracking and auditing
- Rules engine and reporting engine
Creating a Basic Vaadin Project
Vaadin is a new Java web framework for making applications look great and perform well, making your users happy. Vaadin promises to make your user interfaces attractive and usable while easing your development efforts and boosting your productivity.
In this article by Nicolas Frankel, author of Learning Vaadin, we will:
- Learn key concepts behind the Vaadin framework
- Have an overview of its internal architecture
- See how to deploy a Vaadin application to a servlet container, be it in an IDE or outside it
- See how to update the previously developed application with a very simple interaction in order to display "Hello Vaadin!"
JIRA: Programming Workflows
In this article by Jobin Kuruvilla author of JIRA Development Cookbook, we will cover:
- Writing a workflow condition
- Writing a workflow validator
- Writing a workflow post function
- Editing an active workflow
Android User Interface Development: Validating and Handling Input Data
Android provides an excellent toolset to capture many different types of data from the user, while also providing loose coupling between your application components in the form of Intent structures. By using several smaller Activity classes to capture data, while at the same time abstracting the functionality to capture different types of input, you'll be able to more easily reuse the input capturing Activity classes, not just within the application, but in other applications as well. Further, by registering the Activity correctly, you'll allow other applications to override, or make use of your Activity implementation, allowing the users to select their preferred capturing mechanism.
This article by Jason Morris, author of Android User Interface Development: Beginner's Guide, provides tips regarding taking input from a user, and how to keep this experience as painless as possible. This article investigates the different input widgets Android provides and how to configure them best, depending on the situation. Also, when everything else fails, how best to inform your users that what they are doing is wrong.
Read Android User Interface Development: Validating and Handling Input Data in fulliPhone: Issues Related to Calls, SMS, and Contacts
Undoubtedly, iPhone is one of the most exciting mobile devices in the world. Its iOS is used in other Apple devices, such as iPad and iPod Touch.
Although iPhone is a smartphone, we shouldn't forget its main functionality of making phone calls and sending text messages in addition to its other rich features. This article by Arturo Fernandez Montoro, author of iPhone JavaScript Cookbook, will teach you how to use the contacts stored in the internal address book of the device.
Specifically, we will cover:
- Calling a number
- Sending an SMS to a number
- Selecting contacts
- Creating a new contact
- Searching and displaying contacts
Android Application Testing: Adding Functionality to the UI
It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.
The previous article by Diego Torres Milano, author of Android Application Testing Guide, introduced the Test Driven Development discipline.
In this article we will take a look at adding some basic functionality to the user interface.
Read Android Application Testing: Adding Functionality to the UI in fullAndroid Application Testing: TDD and the Temperature Converter
It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.
This article by Diego Torres Milano, author of Android Application Testing Guide, introduces the Test Driven Development discipline. We will start with a general revision and later on move to the concepts and techniques closely related to the Android platform.
In this article, we:
- Introduce and explain Test Driven Development
- Creating a sample project—the Temperature Converter
- Creating the TemperatureConverterActivityTests project
Android Application Testing: Getting Started
It doesn't matter how much time you invest in Android design, or even how careful you are when programming, mistakes are inevitable and bugs will appear.
This article by Diego Torres Milano, author of Android Application Testing Guide, introduces the different types of testing and their applicability to software development projects in general and to Android in particular.
We will take a look at the following:
- Software bugs
- Why, what, how, and when to test
- Types of tests
- Android testing framework
iPhone JavaScript: Installing Frameworks
Undoubtedly, iPhone is one of the most exciting mobile devices in the world. Its iOS is used in other Apple devices, such as iPad and iPod Touch.
In this article by Arturo Fernandez Montoro, author of iPhone JavaScript Cookbook, we will cover:
- Why frameworks are so good
- Main frameworks for iPhone development
- Installing the iUI framework
- Installing the UiUIKit framework
- Installing the XUI framework
- Installing the iWebKit framework
- Installing the WebApp.Net framework
- Installing the PhoneGap framework
- Installing the Sencha Touch framework
- Installing the Apple Dashcode framework



