If you're interested in writing an article for our Article Network, please get in touch with us through our Article Network FAQ page.
Knowledge Bomb
* If you define all the JPA fields and relationships in your entity class, then Roo will automatically delete the corresponding *_Roo_DbManaged.aj ITD file.
* The @PathVariable not only binds the value of the URI variables to method parameters, but also performs type conversion.
Infinispan Data Grid: Infinispan and JBoss AS 7
The Infinispan data grid platform is an open source data grid solution written in Java, providing features such as large data sets, heterogeneity, scalability, and much more. The Infinispan API is also embedded into the latest release of JBoss Application Server (7.1 at the time of writing).
In this article by Manik Surtani and Francesco Marchioni, the authors of Infinispan Data Grid Platform, we will cover the following topics:
- At first we will shortly introduce shortly the new application server platform
- Next we will show how you can configure and develop applications using Infinispan API on a JBoss AS 7 server
Read Infinispan Data Grid: Infinispan and JBoss AS 7 in full
Getting Started on UDK with iOS
The UDK iOS Game Development Beginner’s Guide takes a clear, step-by-step approach to building a small third-person shooter game using the Unreal Development Kit with plenty of examples on how to create a game that is uniquely your own.
In this article by John P. Doran, author of UDK iOS Game Development Beginner's Guide, we'll:
- Learn about the Unreal Engine and what we expect to create
- Install UDK on our computer
- Go through an overview of UDK's directories
- Download and install UDK Remote
- Match the Mobile Previewer settings with your iOS device
- Describe the project we are going to be creating
Getting Started with Oracle Primavera P6
In this article by Daniel L. Williams and Elaine Britt Krazer, authors of Oracle Primavera P6 Version 8: Project and Portfolio Management, we introduce Oracle Primavera P6 Enterprise Project Portfolio Management or P6 for short. P6 is used worldwide to schedule projects in a range of industries, including construction, energy, aerospace, pharmaceuticals, IT, and finance, to name a few.
In this article we will cover:
- Product history
- What's in the Name?
- P6 Core Concepts
- What's New in P6 Release 8
HBase Administration, Performance Tuning
Performance is one of the most interesting characteristics of an HBase cluster's behavior. It is a challenging operation for administrators, because performance tuning requires deep understanding of not only HBase but also of Hadoop, Java Virtual Machine Garbage Collection (JVM GC), and important tuning parameters of an operating system.
The structure of a typical HBase cluster is shown in the following diagram:
There are several components in the cluster—the ZooKeeper cluster, the HBase master node , region servers, the Hadoop Distributed File System(HDFS) and the HBase client.
The ZooKeeper cluster acts as a coordination service for the entire HBase cluster, handling master selection, root region server lookup, node registration, and so on. The master node does not do heavy tasks. Its job includes region allocation and failover, log splitting, and load balancing. Region servers hold the actual regions; they handle I/O requests to the hosting regions, flush the in-memory data store (MemStore) to HDFS, and split and compact regions. HDFS is the place where HBase stores its data files (StoreFile) and write ahead logs (WAL). We usually have an HBase region server running on the same machine as the HDFS DataNode, but it is not mandatory.
The HBase client provides APIs to access the HBase cluster. To communicate with the cluster, clients need to find the region server holding a specific row key range; this is called region lookups. HBase has two system tables to support region lookups—the -ROOT- table and the .META. table.
The -ROOT-table is used to refer to regions in the .META.table, while the .META.table holds references to all user regions. First, the clients query ZooKeeper to find the -ROOT-table location (the region server where it is deployed); they then query the -ROOT-table, and subsequently the .META.table, to find the region server holding a specific region. Clients also cache region locations to avoid querying ZooKeeper, -ROOT-, and .META.tables every time. With this background knowledge, we will describe how to tune HBase to gain better performance, in this article.
Besides HBase itself, other tuning points include Hadoop configurations, the JVM garbage collection settings, and the OS kernel parameters. These are as important as tuning HBase itself. We will also include recipes to tune these configurations, in this article.
In this article, by Yifeng Jiang, author of HBase Administration Cookbook, we will cover:
- Setting up Hadoop to spread disk I/O
- Using a network topology script to make the Hadoop rack-aware
- Mounting disks with noatimeand nodiratime
- Setting vm.swappinessto 0 to avoid swap
- Java GC and HBase heap settings
- Using compression
- Managing compactions
- Managing a region split
Enabling Plugin Internationalization
Enabling Plugin Internationalization, prepares your plugin to be translated to any language to make it easier to be used by non-English speakers.
WordPress is a worldwide phenomenon, with users embracing the platform all around the globe. To create a more specific experience for users in different locales, WordPress offers the ability to translate all of its user and visitor-facing content, resulting in numerous localizations becoming available for download online.
In this article by Yannick Lefebvre, the author of WordPress Plugin Development Cookbook, we will learn about plugin localization through the following topics:
- Changing the WordPress language configuration
- Adapting default user settings for translation
- Making admin page code ready for translation
- Modifying shortcode output for translation
- Translating text strings using Poedit
- Loading a language file in the plugin initialization
Read Enabling Plugin Internationalization in full
Blackboard Essentials for Teachers - Assignments for Students
In this article by William Rice the author of the book Blackboard Essentials for Teachers, we will discuss how to create assignments where the student must submit or upload a material for the instructor to review. You will learn how to review and respond to the files that students submit.
Read Blackboard Essentials for Teachers - Assignments for Students in fullOdata on Mobile Devices
OData (Open Data Protocol) is a web protocol for querying and updating data, which can be freely incorporated in various kind of data access applications. OData makes it quite simple and flexible to use by applying and building upon existing well-defined technologies such as HTTP, XML, AtomPub, and JSON. WCF Data Services (formerly known as ADO.NET Data Services) is a well-encapsulated component for creating OData services based on the Microsoft .NET Framework platform. It also provides a client library with which you can easily build client applications that consume OData services. In addition to WCF Data Services, there are many other components or libraries, which make OData completely available to the non-.NET or even non-Microsoft world.
In this article by Steven Cheng, author of OData Programming Cookbook for .NET Developers, we will cover:
- Accessing OData service with OData WP7 client library
- Creating Panorama-style, data-driven Windows Phone applications with OData
- Using HTML5 and OData to build native Windows Phone applications
Creating a sample C#.NET application
Citrix XenApp is the leader of application virtualization or application delivery. Citrix was founded in 1989 and they developed the first successful product in 1993 called WinView. It provided remote access to DOS and Windows 3.1 applications on a multi-user platform. Citrix licensed Microsoft's Windows NT 3.51 source code from Microsoft; and in 1995, they shipped a multiuser version of Windows NT based on the MultiWin engine, known as WinFrame. This allowed multiple users to log on and execute applications on a WinFrame server. In 1996, Citrix licensed the MultiWin technology to Microsoft, establishing the foundation of Microsoft's Terminal Services.
This article by Guillermo Musumeci, the author of Getting Started with Citrix XenApp 6.5, will create a sample application to list all XenApp servers in our farm using Citrix XenApp Commands with managed code. Samples contained in this article are developed in Microsoft C# 2010 Express Edition.
Read Creating a sample C#.NET application in fullUsing Maps in your Windows Phone App
Maps provide a great visual experience for location-based services. Maps are now a default feature on most smartphones as they provide a good graphical overview of information (usually geotagged data) around the user's location.
With custom pin markers and directions, maps also help users navigate to their destination easily. Most importantly maps give the user a feeling that "This place is around the next block, north from where I am standing," so decision-making happens quickly for the user.
In this article by Zeeshan Chawdhary, author of Windows Phone 7.5: Building Location-aware Applications we shall cover the following topics:
- Understanding map geometry
- Overview of Windows Bing Maps Silverlight Control
- Using maps in your Windows Phone application – Hello Maps
- Using pushpins with maps
- Custom map pushpins
- Handling pushpin events
- Working with Bing Maps geocoding and reverse geocoding services
- Overview of Launchers and Choosers
- Using directions with Bing Maps directions task
- Performing local searches with BingMapsTask
Read Using Maps in your Windows Phone App in full
Getting Started with LiveCode for Mobile
LiveCode has an English-like programming language, a graphical development environment, and an easy-to-understand structural metaphor. When you create an application, you spend more time thinking about how to implement the different features, and less about the complexities of the tool you are using. But if you've never used LiveCode before, it's still going to be unfamiliar at first.
Before we can do neat things…
Creating stacks that do something that you will find useful or that may become a mobile app that you can sell, is a very gratifying process. Minute by minute, you can be making progress, and instantly see improvements that you have made. Unfortunately, there is a lot of less gratifying work to be done before and after you have made your masterpiece. In this article by Colin Holgate, author of LiveCode Mobile Development Beginner's Guide, we will take you through the before part.
LiveCode makes mobile apps by taking the stack you have made, along with any supporting files you have added, and compiles the application file using the developer kit that you will download from the mobile OS provider – Google for Android and Apple for iOS. In this article we will:
- Sign up for Android Market
- Sign up for Amazon Appstore
- Download and install the Android SDK
- Configure LiveCode so that it knows where to look for the Android SDK
- Become an iOS developer with Apple
- Download and install Xcode
- Configure LiveCode so that it knows where to look for the iOS SDKs
- Set up simulators and physical devices
- Test a stack in a simulator and physical device
Here we go...
Read Getting Started with LiveCode for Mobile in full