Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blog Entries by Topic

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Servlets

javax.servlet.http.HttpSession provides a way to identify an user across multiple HTTP requests and to store user specified information. In other words, it provides a support of stateful communications with the stateless HTTP protocol. For security and memory management, sessions need to be invalidated at a certain time. There are two related methods in HttpSession. HttpSession.invalidate() By...
on Aug 29, 2013
WebSocket is a bi-directional, full-duplex, TCP based messaging protocol. It is originally proposed as part of HTML5 and is a IETF-defined Protocol (RFC 6455). And W3C has defined JavaScript API for WebSocket which is in candidate recommendation since 2012-09-20. JSR 356: Java API for WebSocket provides a standard Java API for creating WebSocket Applications. The specification provides an API for...
on Aug 7, 2013

Blogging

“Indexing, updating and deleting data” is new to Elasticsearch in Action + 45% off Save 45% on Elasticsearch in Action with Promo code mlhinmanjn at manning.com Elasticsearch in Action by Matthew Lee Hinman and Radu Gheorghe has been updated. What's new? Chapter 4, “Indexing, updating and deleting data”. Chapter 4 looks at getting data in and out of Elasticsearch: indexing, updating and deleting...
on Aug 29, 2013
Save 45% on The Programmer's Guide to Apache Thrift with Promo code mlthriftjn2 at manning.com. The Programmer's Guide to Apache Thrift by Randy Abernethy has been updated! What's new? •Chapter 1-3 have been updated and the following chapters have been added: •Chapter 4, "Handling Exceptions" •Chapter 5, "Serializing Data with Protocols" •Chapter 6, "Apache Thrift IDL" We have three new chapters...
on Aug 28, 2013
“Artifact assembly & publishing” is new to Gradle in Action + 45% off Gradle in Action by Benjamin Muschko is 45% off with Promo code mlmuschkojn at manning.com. What's new? In the context of continuous delivery, publishing your artifact plays a crucial role. Once you've packaged the delivery with a specific version, it’s ready to be deployed to various target environments for acceptance...
on Aug 27, 2013
"Using State in Actors" is new to Akka in Action + 45% off Akka in Action is written by Raymond Roestenburg, Rob Bakker, and Rob Williams Save 45% on Akka in Actionwith promo code mlakkajn at manning.com. In chapter 7, you learned about two possible ways to keep state in an Actor by using class attributes and the become/unbecome functionality. Chapter 10 talks about two more solutions that you...
on Aug 27, 2013
Save 45% on The Mikado Method with Promotional code mlellnestamjn at manning.com. Offer expires Aug 26, 2013. What’s new? Chapter 6, “Emergent design with the Mikado Method” Chapter 6 discusses the principles that make software more responsive to changes and gives you strategies to use when you need to decide where to take the design. You’ll learn about each SOLID design principle, package...
on Aug 21, 2013
Kanban in Action MEAP Update + 44% off Save 44% on Kanban in Action with Promotional code mlkanbanjn at manning.com What’s new? Chapter 9, “Planning and estimating”. Planning involves taking everyone who is connected to your process into consideration and keeping them informed and up to date. Chapter 9 helps you plan the kanban way and gives you estimating, story points, and other relative...
on Aug 20, 2013
Grails in Action, Second Edition MEAP Update + 44% off Save 44% on Grails in Action, Second Edition with Promotional code mlgsmith2jn at manning.com What’s new? Chapter 9, “Building reliable applications”. We have now introduced all the core elements that make up a standard Grails application. The question now is how to further develop the application while ensuring that we don’t introduce bugs...
on Aug 20, 2013
Save 44% on CoffeeScript in Action, by Patrick Lee with Promotional code mlleejn at manning.com. What’s new? • Chapter 11, “In the Browser,” has been added. • The Table of Contents has been updated. It’s important to learn the challenges of the browser environment that your CoffeeScript programs live in. Chapter 11 shows you how to write CoffeeScript programs in a web browser and explains the...
on Aug 16, 2013
Java Persistence with Hibernate, Second Edition MEAP Update + 44% savings! To save 44% on the pBook and eBook use Promotional code mlbauer3jn at http://www.manning.com/bauer3/. Offer valid until Aug 21, 2013. What’s new? •Chapter 11, “Implementing conversations” •Chapter 12, “Fetch plans, strategies, and profiles” •Chapter 13, “Filtering” We have three new chapters for you. In chapter 11, you’...
on Aug 16, 2013

J2EE

I've been blessed with the opportunity to speak about JSF 2.2 at JavaZone and JavaOne. Just before both events I'm doing a full day JSF 2.2 class. This blog entry advertises both classes. JSF 2.2 Class in Mannheim, Germany Monday 2013-09-09 Thanks to Papick Taboada, I partnered with OIO to present a full day JSF 2.2 class at their facility in Mannheim, Germany on Monday 2013-09-09. Here is the...
on Aug 28, 2013

Community

Very soon, it will be time for the annual Java One conference in San Francisco, California. Thousands of Java-fanatics will make the journey to my favorite city "by the bay" (and my home town). Thousands more Java-fanatics will not attend (including me) and wish they could. I hope all attendees will have a great and productive time at Java One 2013. My general advice to attendees is, "Make the...
on Aug 25, 2013
Spring is an open source framework whose goals is facilitate the Java developer's life, it began with dependency injection and nowadays works on many plug-ins. Plug-ins such Spring Social, to connects social media like twitter and facebbok, Spring security beyond control inversion. The goal of this post is talk about Spring Data working with Cassandra. Spring Data does part of Spring plug-in,...
on Aug 25, 2013
Cassandra is an open source column oriented nosql database. It was born to solve problems with persistence and high performance. Cassandra has been used by many companies in many industries for a wide variety of use cases. In addition it has a strong and thriving community supporting it. We will be having a special series of events throughout Brazil in the first week of September. Each day...
on Aug 21, 2013

Databases

According to research, most complex report development work can be simplified by performing the data source computation in advance. For example, find out the clients who bought all products in the given list, and then present the details of these clients. In developing such reports, it is the “computation” part and not the “presentation” part that brings about major difficulties. In which stage...
on Aug 20, 2013
In report development, we may need to present the data from multiple databases in one report, such as data from MSSQL database for CRM and Oracle database for ERP. If the reporting tool like iReport only supports single data source, then we need to consolidate the multiple data sources into a single data source. The Crystal, BIRT, and other so-called reporting tools for multiple data source can...
on Aug 6, 2013

Programming

In Java development, the typical data computation problems are characterized with: Long computation procedure requiring a great deal of debugging Data may from database, or Excel/Txt Data may from multiple databases, instead of just one. Some computation goals are complex, such as relative position computation, and set-related computation Just suppose a sales department needs to make statistics...
on Aug 13, 2013
Java API for WebSocket is a new JSR to Java EE 7. It provides a stardard Java API for creating WebSocket applications. This gives web applications the ability to push data. In Java EE 6 samples, we added a chat room sample to illustrate how to use of Servlet 3.0 asynchronous operation. In that sample, the servlet code did the following: keep track of AsyncContext in a Queue create a thread to...
on Aug 13, 2013

Web Applications

Apache Thrift’s Role in Distributed Applications By Randy Abernethy, authors of The Programmer's Guide to Apache Thrift Apache Thrift helps programmers build high performance cross-language services to address the growing need for multilanguage integration. In this article, based on chapter 1 of The Programmer’s Guide to Apache Thrift, author Randy...
on Aug 1, 2013