private static final long serialVersionUID = 1L
Group items matching
in title, tags, annotations or url
1More
shared by Hendy Irawan on 24 Apr 11
- No Cached
Ajax Push - Overview - ICEfaces - ICEfaces.org Community Wiki - 0 views
wiki.icefaces.org/...Ajax+Push+-+Overview
ajax push overview community icefaces application jsf java javaee web

-
Ajax Push allows the application to incrementally update any part of the page at any time, for any group of clients. This is a small change in terms of the technical capabilities of Ajax applications, but it is a revolutionary change in terms of what applications can actually provide to users. Ajax Push is the key to building collaborative multi-user applications for the web. Under the Hood The intricacies of the Ajax Push implementation are completely transparent to the ICEfaces developer, as you work with a straightforward set of APIs. It is, however, useful to understand the basic mechanics. Ajax Push in ICEfaces 2.0 leverages an asynchronous notification mechanism call ICEpush. Simply put, ICEpush uses long polling to provide asynchronous notification over standard HTTP, using only standard browser capabilities. The sequence of events involved in Ajax Push is illustrated below.
1More
Querydsl - 0 views
-
Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, JDO and SQL in Java. Instead of writing queries as inline strings or externalizing them into XML files they are constructed via a fluent API. Code completion in IDE (all properties, methods and operations can be expanded in your favorite Java IDE) Almost no syntactically invalid queries allowed (type-safe on all levels) Domain types and properties can be referenced safely (no Strings involved!) Adopts better to refactoring changes in domain types Incremental query definition is easier Querydsl is licensed under the LGPL 2.1 license.
1More
shared by Hendy Irawan on 24 Apr 11
- No Cached
Building Vaadin Applications on top of Activiti - Wiki - vaadin.com - 0 views
vaadin.com/...ons%20on%20top%20of%20Activiti
project business application overview framework SDK platform activiti applications vaadin building

-
In this article, we are going to look at how the Activiti BPM engine can be used together with Vaadin. We are going to do this in the form of a case study of a demo application that is available on GitHub. The code is licensed under Apache License 2.0 and can freely be used as a foundation for your own applications. Before continuing, you might want to check out this screencast of the demo application in action (HD quality is recommended):
1More
DWR - Easy Ajax for JAVA - 0 views
-
Direct Web Remoting DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible. DWR is Easy Ajax for Java DWR version 3.0.rc1 is the most recent development release. DWR version 2.0 is the current stable release. Download them now and use DWR in your website in minutes.
1More
Eclipse Gemini Blueprint - Home - 0 views
-
Eclipse Gemini Blueprint is the reference implementation for the OSGi Alliance Blueprint Service (chapter 121 of the OSGi 4.2 Compendium Specification). Gemini Blueprint project makes it easy to build Java applications that run in an OSGi framework. By using Gemini Blueprint, applications benefit from using a better separation of modules, the ability to dynamically add, remove, and update modules in a running system, the ability to deploy multiple versions of a module simultaneously (and have clients automatically bind to the appropriate one), and a dynamic service model. Gemini users may also be interested in Eclipse Virgo, an open source, completely modular, OSGi-based Java application server. Its documentation is considered a supplement to Gemini Blueprint as it explains in detail, how OSGi can be used in various development and production scenarios.
1More
Online Java Training - Creating threads - 0 views
-
There are two ways to create threads. 1. Create Threads implementing Runnable interface 2. Create Threads Extending Thread class When to use Runnable interface Use Runnable interface when your class is extending some other class. Since in Java mulitple inheritance is not possible we use Runnable interface to create Threads.
17More
JavaBlogging » What is serialVersionUID? - 2 views
-
and it is still there even after the program finished. Let’s see if we can read that file once again, this time without creating it first.
-
Now, let’s see what happens, when we change the serialVersionUID value and try to deserialize once again our file. Change the line 2 in the class SerializeMe so that serialVersionUID contains now 2 instead of 1:
- ...13 more annotations...
-
As you can see, this time the deserialization didn’t go well. ObjectInputStream complained about the serialVersionUID being changed.
-
How does he know that it changed? If serialVersinUID is static, then it should not have been serialized in the first place, and there should be no information about the previous value 1 during the deserialization, right? Well, serialVersionUID is an exception to the rule that “static fields don’t get serialized”.
-
Moreover, if there is no serialVersionUID officially declared in the class to be serialized, compiler automatically adds it with a value generated based on the fields declared in the class.
-
The deserialization of that object does not necessarily have to occur exactly after serialization. It can occur after a few months or on a completely different JVM
-
It checks if the data read from the input stream is compatible with the current definition of the class.
-
you might tend to write it once for every serializable class ( or have it generated by the IDE ) and forget about it. WRONG !!!
-
If you write it once and don’t take care to update it when necessary, you loose all the merits of serialVersionUID.
1More
EasyMock - Mock Objects for interfaces & objects by generating them on the fly using Ja... - 10 views
-
"EasyMock provides Mock Objects for interfaces (and objects through the class extension) by generating them on the fly using Java's proxy mechanism. Due to EasyMock's unique style of recording expectations, most refactorings will not affect the Mock Objects. So EasyMock is a perfect fit for Test-Driven Development. EasyMock is open source software available under the terms of the Apache 2.0 license. Development, downloads and issue tracking are hosted on SourceForge. "
2More
Introduction to UML 2 Activity Diagrams - 0 views
3More
Maven GWT Plugin - GWT Maven Plugin Usage - 0 views
-
-
Link not valid; perhaps http://tomcat.apache.org/maven-plugin-2.0/context-goals.html#aStarting_a_WAR_project
-
1More
Formatter (Java 2 Platform SE 5.0) - java platform format string syntax - 0 views
1More
A JSTL primer, Part 2: Getting down to the core - 0 views
19More
untitled - 0 views
-
initWidget(uiBinder.createAndBindUi(this));
-
GWT compiler won27;t actually visit this URL to fetch the file, because a copy of it is baked into the compiler
- ...15 more annotations...
-
public class UserDashboard extends Composite { interface MyUiBinder extends UiBinder<Widget, UserDashboard> {} private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class); public UserDashboard() { initWidget(uiBinder.createAndBindUi(this)); }}
96More
Large scale application development and MVP - Part II - Google Web Toolkit - Google Code - 0 views
-
itself
- ...91 more annotations...
-
contactsView.setColumnDefiniions(
-
columnDefinitions = new ArrayList<ColumnDefinition<ContactDetails>>()
-
Inefficiencies related to inserting new elements via DOM manipulation Overhead associated with sinking events per Widget
Software Support Saved My Spring Days - 1 views
1More
shared by DJHell . on 25 May 09
- Cached
Portale und Portlets (4) || IT-Republik - JAXenter - Artikel - 0 views
it-republik.de/...und-Portlets-%284%29-2327.html
jaxenter Artikel Portale Portlets Caching Annotations JSR-286 Portlet 2.0 IT Software-Entwicklung Java

-
In den letzten Teilen der Serie wurden bereits viele Neuerungen des JSR-286 vorgestellt und an konkreten Beispielen demonstriert. In diesem Teil wird der Schwerpunkt darauf gelegt, wie die entstandene Ausgabe gecached werden kann, um auch das Thema Performance nicht aus den Augen zu verlieren. Ein Überblick über die Annotation-Unterstützung des JSR-286 rundet die Einführung neuer Features ab.