JavaBeat Certifications Certifications Kits Articles Interview Questions OCAJP 7 OCPJP 5 OCPJP 6 OCEJWCD 6 SCBCD 5.0 SCEA SCJA
How to test OSGi Applications?
Author : ManningPublications
Date : Wed Nov 30th, 2011
When you're testing OSGi bundles, each of these types of testing requires a different approach—different from the other phases and also different from how you'd do similar testing for an application intended to run on a JEE server or standalone. We'll start by discussing unit testing, since that's the simplest case in many ways. We'll then show you some tools and strategies that we hope you'll find useful for integration and system testing.
Blueprint and Service Dynamism in OSGi
Author : ManningPublications
Date : Wed Nov 30th, 2011
OSGi is a dynamic environment. Stopping a bundle fragment removed translations, and stopping and starting bundles made special offers appear and disappear. This dynamism is amazingly powerful and allows OSGi applications to do things that aren't possible for conventional applications.
Writing an OSGi Web Application
Author : ManningPublications
Date : Tue Nov 29th, 2011
In Java EE, the Servlet and Java Server Pages models have provided the basic building blocks for Java web applications for many years. OSGi Web Applications are a standardized OSGi version of JEE web applications. An OSGi web bundle is very similar to a JEE WAR, except that it also gets the benefits of operating in an OSGi framework. Enterprise OSGi web bundles are known as WABs. (In contrast to WARs, which are Web ARchives, WABs are Web Application Bundles.)
What is Model View Presenter (MVP) in GWT Application?
Author : ManningPublications
Date : Mon Nov 28th, 2011
One of the main selling points of GWT is that it allows you to use an industry-grade language, with an industry-grade set of tools, to build...well...industry-grade web apps. But, as with any large scale development project, you can easily paint yourself into a corner. Far too many times when building GWT-based apps, we find ourselves slinging code wherever necessary to make the app work, and (sometimes more importantly) look good. Fortunately, there is a well known solution to this problem: build your applications based on the model-view-presenter (MVP) paradigm.
Code Splitting in GWT
Author : ManningPublications
Date : Mon Nov 28th, 2011
Another common engineering issue was how to decrease the load time of the application. It is common for a feature full GWT application to approach a megabyte in size. With broadband, this is generally a fast download, but at the same time users have higher expectations that they did with their 56K modem. Users now judge the speed of your application in hundreds of milliseconds and not seconds. If your application takes a full second to start up, it may be considered as being sluggish. So how can you decrease the start time?.This is where code splitting comes in. If you can cut your code into multiple segments, you can kill two birds with one stone. A smaller initial download means faster startup, and loading less-often accessed code only when it loads means smaller total downloads.
How to create widget in GWT 2.0?
Author : ManningPublications
Date : Mon Nov 28th, 2011
With GWT v2, it is going to be a rare occasion where you need to create a widget directly from the Document Object Model (DOM). This is because GWT 2.0 covers nearly all the widgets we can think of. If you are using a GWT version lower than 2.0 then you may find some things missing (such as a widget wrapping the SPAN element—GWT 2.0 provides InlineLabel, which does that).
The Memory Leak Detector Oracle JRockit
Author : PacktPub
Date : Tue Sep 20th, 2011
Working with a garbage collected language could easily lead to the hasty conclusion that resource management is a thing of the past, and that memory leaks are impossible. Nothing could be further from the truth. In fact, memory leaks are so common in Java production systems that many IT departments have surrendered. Recurring scheduled restarts of Java production systems are now all too common.
Using Controllers in Play Framework
Author : PacktPub
Date : Tue Sep 20th, 2011
This chapter will help you to keep your controllers as clean as possible, with a well defined boundary to your model classes. Always remember that controllers are really only a thin layer to ensure that your data from the outside world is valid before handing it over to your models, or something needs to be specifically adapted to HTTP. The chapter will start with some basic recipes, but it will cover some more complex topics later on with quite a bit code, of course mostly explained with examples.
HTML 5.0 Features
Author : ChethakBM
Date : Tue Sep 20th, 2011
HTML 5.0 will be the new standard for html, xhtml and DOM. HTML 5.0 was started by World Wide Consortium(W3C) and the web Hypertext Application Technology Working Group(WHATWG). HTML 5.0 reduces the need for external plugins(like Flash player). HTML5.0 provides better Error Handling. IT provides more mark up to replace scripting.
Flex 4.x - Overview
Author : ShilpaSKuri
Date : Mon Aug 22nd, 2011
The support for drag and drop can be added for all Flex components. Flex includes built-in support for drag-and-drop operation for some controls such as List, Tree and DataGrid, This automates processing required to support drag and drop operation. Drag-and-drop operation has 3 main stages: initiation, dragging, and dropping. A drag-and-drop operation will either copy or move data from drag initiator to drop target. On successful drop, Flex adds the data to drop target and, optionally, deletes it in case of a move from the drag initiator.
Stochastic Gradient Ascent
Author : ManningPublications
Date : Sun Jul 31st, 2011
Gradient Ascent uses the whole dataset on each update. This is fine with 100 examples but, with billions of data points containing thousands of features, it is unnecessarily expensive in terms of computational resources. An alternative to this method is to update the weights using only one instance at a time. This is known as Stochastic Gradient Ascent. Stochastic Gradient Ascent is an example of an on-line learning algorithm. This is known as on-line because we can incrementally update the classifier as new data comes in rather than all at once. The all-at-once method is known as batch processing.
What's New in Silverlight 5?
Author : ManningPublications
Date : Sun Jul 31st, 2011
Silverlight 3, 4, and 5 have added an amazing number of new capabilities to the platform in all areas, from core capabilities, to device access, to the introduction of both trusted and sandboxed in and out-of-browser client applications. While Silverlight is still a relatively young technology, it has had 5 major releases in the past four years, as described in table 1.
Spring DMs Event Admin Service Support
Author : ManningPublications
Date : Sun Jul 31st, 2011
The core of the OSGi technology is a standard that's described in the OSGi core specification. OSGi also comes with the compendium services specifications that build on the features provided by the core specification. Each compendium service addresses a particular requirement and can be used on any conformant OSGi platform. The Event Admin Service provides a standardized and centralized service to manage events triggered by entities used within the OSGi container. It's based on an event channel called topic, which makes it possible for entities to subscribe to, receive, and send events. At the moment, Spring DM doesn't support this service directly, but it's possible to implement a bridge between Spring and Spring DM events and the Event Admin Service.
Creating a Custom Pie Chart Component with Degrafa using Flex
Author : ManningPublications
Date : Sun Jul 31st, 2011
Adobe provides data visualization components, but only when you purchase a license for the professional version of the Flash Builder IDE. Because our goal is to do Flex development using only free and open source technologies, we've decided to create our own visualization components—besides, it's more fun.
The Most Popular Collaborative Models
Author : ManningPublications
Date : Sun Jul 31st, 2011
Although all the teams I interviewed collaborated on specifications, the ways they approached that collaboration varied greatly, from large all-hands workshops to smaller workshops, and even to informal conversations. Here are some of the most common models for collaboration along with the benefits the teams obtained.

javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2013), JavaBeat