JavaPins - Latest published stories
1
Pins

The Java HotSpot: Customizing Java Serializarion [Part 1]

published 438 days, 18 hours, 22 minutes ago posted by jamesjames 458 days, 22 hours, 38 minutes ago
Friday, April 06, 2012 4:51:22 PM GMT Saturday, March 17, 2012 12:35:29 PM GMT
In our last post we looked at some of the basics of Java Serialization. We also took a look at how object resolving is done by the JVM and the effects of serialization of the same object on different/same ObjectOutputStreams. In this post we will look at how we can customize the process of serialization. When we write a class and implement the Serializable interface, Java gives us a default serialization process. But sometimes we may want to customize the serialization process. There are sever... (more)
category: JAVA | clicked: 12 | comment | | source: javawithswaranga.blogspot.in
tags: Customizing, Java, Serializarion
1
Pins

Java Tips - Introduction to the Java Transaction API

published 438 days, 18 hours, 22 minutes ago posted by vinaykumarvinaykumar 463 days, 21 hours, 13 minutes ago
Friday, April 06, 2012 4:51:22 PM GMT Monday, March 12, 2012 2:00:05 PM GMT
Introduction to the Java Transaction API (more)
category: JAVA | clicked: 14 | comment | | source: www.java-tips.org
tags: Introduction, Java Transaction API
1
Pins

Why should you use Unchecked exceptions over Checked exceptions in Java - Java Code Geeks

published 438 days, 18 hours, 22 minutes ago posted by karlenekarlene 465 days, 1 hour, 23 minutes ago
Friday, April 06, 2012 4:51:22 PM GMT Sunday, March 11, 2012 9:49:57 AM GMT
The debate over checked vs. unchecked exceptions goes way, way back. Some say it’s one of the best features Java included. Others say it was one of their biggest mistakes[1]. It looks like the debate is over. In this post I will try to include the links to articles and books which speaks about this topic. I am not an expert voice in this, but I will try to explain you why did I reach the this conclusion. So, we are talking about, Unchecked exceptions :represent defects in the program (bugs) - often ... (more)
category: JAVA | clicked: 16 | comment | | source: www.javacodegeeks.com
tags: Checked, Exceptions, Java, over, Unchecked
1
Pins

level up - Spring MVC and Hibernate Configuration

published 438 days, 18 hours, 22 minutes ago posted by vinaykumarvinaykumar 475 days, 2 hours, 42 minutes ago
Friday, April 06, 2012 4:51:22 PM GMT Thursday, March 01, 2012 8:31:18 AM GMT
lishlevel uphomeoraclehibernatespring mvcblogfeedback�previous  next� Getting StartedDemo ApplicationControllerViewInternationalizationConfigurationQuick Start Form ProcessingDemo ApplicationForm ControllerForm ViewForm ValidationQuick Start IoC ContainerAutowiringComponentsObject ScopeConfigurationQuick Start Hibernate ORMEntityData Access ObjectService FacadeConfigurationQuick Start We will be creating a new file called hibernateDataAccessContext.xml, ... (more)
category: ORM | clicked: 5 | comment | | source: levelup.lishman.com
tags: Configuration, Hibernate, Spring MVC
1
Pins

J2ee Video Tutorial - How to integer JavaServer Faces 2.0, Spring 3, hibernate 3 and MySQL , Maven Using Netbeans 7.0 | JSF 2 Video Tutorial

published 439 days, 18 hours, 11 minutes ago posted by DayssamDayssam 450 days, 6 hours, 23 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Monday, March 26, 2012 4:50:30 AM GMT
Dear visitor,you are watching : How to integer JavaServer Faces 2.0, Spring 3, hibernate 3 and MySQL , Maven Using Netbeans 7.0 | JSF 2 Video Tutorial. This is a Video Tutorial explains How to integer JavaServer Faces 2.0, Spring 3, hibernate 3 and MySQL , Maven Using Netbeans 7.0 (more)
category: JSF | clicked: 28 | comment | | source: www.j2eevideotutorial.com
tags: Hibernate, JSF, Maven, MySql, NetBeans, Spring
1
Pins

Java 7 Feature Overview - Java Code Geeks

published 439 days, 18 hours, 11 minutes ago posted by jamesjames 458 days, 21 hours, 58 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Saturday, March 17, 2012 1:15:01 PM GMT
We discussed previously everything that didn’t make it into Java 7 and then reviewed the useful Fork/Join Framework that did make it in. Today’s post will take us through each of the Project Coin features – a collection of small language enhancements that aren’t groundbreaking, but are nonetheless useful for any developer able to use JDK 7. I’ve come up with a bank account class that showcases the basics of Project Coin features. Take a look... public class ProjectCoinBanker { private sta... (more)
category: JAVA | clicked: 3 | comment | | source: www.javacodegeeks.com
tags: core java, Java 7
2
Pins

Java 7: A complete invokedynamic example - Java Code Geeks

published 439 days, 18 hours, 11 minutes ago posted by jamesjames 458 days, 22 hours, 23 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Saturday, March 17, 2012 12:50:13 PM GMT
Another blog entry in my current Java 7 series. This time it's dealing with invokedynamic, a new bytecode instruction on the JVM for method invocation. The invokedynamic instruction allows dynamic linkage between a call site and the receiver of the call. That means you can link the class that is performing a method call to the class (and method) that is receiving the call at run-time. All the other JVM bytecode instructions for method invocation, like invokevirtual, hard-wire the target type informati... (more)
category: JAVA | clicked: 30 | comment | | source: www.javacodegeeks.com
tags: example, invokedynamic, Java
2
Pins

Jerry on Java: JSF and the "immediate" Attribute - Command Components

published 439 days, 18 hours, 11 minutes ago posted by jamesjames 458 days, 22 hours, 34 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Saturday, March 17, 2012 12:39:15 PM GMT
The immediate attribute in JSF is commonly misunderstood. If you don't believe me, check out Stack Overflow. Part of the confusion is likely due to immediate being available on both input (i.e.. ) and command (i.e. ) components, each of which affects the JSF lifecycle differently. Here is the standard JSF lifecycle: For the purposes of this article, I'll assume you are familiar with the basics of the JSF lifecycle. If you need an introduction or a memory refresher, check out the Java EE 6 Tuto... (more)
category: Java EE | clicked: 7 | comment | | source: jerryorr.blogspot.in
tags: command, Component, JSF
2
Pins

The Java HotSpot: Generic method to sort a Map according to Values

published 439 days, 18 hours, 11 minutes ago posted by jamesjames 458 days, 22 hours, 35 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Saturday, March 17, 2012 12:38:13 PM GMT
We all have at least once used classes implementing java.util.Map. Some of the most prominent ones areHashMap TreeMapLinkedHashMap Of these, HashMap and LinkedHashMap do not sort the entries. TreeMap sorts the entries according to the natural order of the set of keys in the map. Hence it becomes very trivial to store key-value mappings ordered by the keys. HashMaps and LinkedHashMaps on the other hand do not sort its entries. LinkedHashMap does however guarantee a insertion order [or in some cases fetc... (more)
category: JAVA | clicked: 7 | comment | | source: javawithswaranga.blogspot.in
tags: Generic, Java, Map, Method, sort, Values
1
Pins

jQuery HTML5 Drag-and-Drop File Upload | LearnComputer

published 439 days, 18 hours, 11 minutes ago posted by vinaykumarvinaykumar 462 days, 48 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Wednesday, March 14, 2012 10:24:55 AM GMT
Often we have a situation on our site where we want users to be able to upload a file. Whether this is for a profile, pictures of any item or other scenario, creating a file upload doesn’t have to be tricky. With some of the nice tricks in HTML5 and jQuery we can even add the nice touch of being able to drag and drop files directly into the uploader, making your site feel extra-special. In this tutorial we will discuss the techniques of both of these techniques that make t... (more)
category: Ajax | clicked: 25 | comment | | source: www.learncomputer.com
tags: File Upload, HTML 5, jquery
1
Pins

Intro to Hadoop | LearnComputer

published 439 days, 18 hours, 11 minutes ago posted by vinaykumarvinaykumar 462 days, 2 hours, 10 minutes ago
Thursday, April 05, 2012 5:02:38 PM GMT Wednesday, March 14, 2012 9:03:26 AM GMT
TweetTweetLike the article? Hadoop. A seemingly nonsensical word that keeps getting thrown around whenever you’re in a meeting. What does it mean? What does it do? Let’s read on and find out!What is Hadoop? Hadoop is a project by the Apache Foundation in order to handle large data processing jobs. It was originally conceived by Doug Cutting, the creator of Apache Lucene (Who based the name on his son’s stuffed pet elephant, incidentally). He was inspired to do so after hearing about Google’s MapReduce ... (more)
category: Open Source | clicked: 1 | comment | | source: www.learncomputer.com
tags: Hadoop, Introduction
2
Pins

Java-Only | Pagination in Java web applications with JSPs and Hibernate

published 440 days, 18 hours, 5 minutes ago posted by java-onlyjava-only 457 days, 2 hours, 22 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Monday, March 19, 2012 8:51:04 AM GMT
A tutorial on how to paginate large data sets with Hibernate and JSPs (more)
category: ORM | clicked: 7 | comment | | source: www.java-only.com
1
Pins

Hibernate cache levels tutorial - Java Code Geeks

published 440 days, 18 hours, 5 minutes ago posted by jamesjames 458 days, 22 hours, 10 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Saturday, March 17, 2012 1:03:50 PM GMT
One of the common problems of people that start using Hibernate is performance, if you don't have much experience in Hibernate you will find how quickly your application becomes slow. If you enable sql traces, you would see how many queries are sent to database that can be avoided with little Hibernate knowledge. In current post I am going to explain how to use Hibernate Query Cache to avoid amount of traffic between your application and database. Hibernate offers two caching levels: The first leve... (more)
category: ORM | clicked: 14 | comment | | source: www.javacodegeeks.com
tags: cache levels, Hibernate, Tutorial
1
Pins

krams::: Spring 3 - Task Scheduling via "scheduled-tasks" Element

published 440 days, 18 hours, 5 minutes ago posted by vinaykumarvinaykumar 475 days, 3 hours, 41 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Thursday, March 01, 2012 7:32:01 AM GMT
In this tutorial we will explore Spring 3's task scheduling support based on the scheduled-tasks element. Spring also provides scheduling support using the Quartz Scheduler. However, we will focus solely on Spring 3's built-in scheduler for this tutorial. We will build our application on top of a simple Spring MVC 3 application. Although MVC is not required, I would like to show how easy it is to integrate. Why do we need scheduling? Scheduling is needed if you want to automate the repetition of a ... (more)
category: Spring | clicked: 8 | comment | | source: krams915.blogspot.com
tags: Scheduling, Spring 3, Spring scheduler
1
Pins

krams::: Spring 3 - DynamicJasper - Hibernate Tutorial: Using HQL Query

published 440 days, 18 hours, 5 minutes ago posted by vinaykumarvinaykumar 475 days, 4 hours, 2 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Thursday, March 01, 2012 7:11:21 AM GMT
In this tutorial we will build a simple Spring MVC 3 application with reporting capabilities. We will use DynamicJasper to generate the dynamic reports and Hibernate for the ORM framework. We will use a custom HQL query to retrieve our data source from a MySQL database. This tutorial is part of the following reporting tutorial series that uses Jasper, DynamicJasper, and Apache POI: Spring 3 - Apache POI - Hibernate: Creating an Excel Report Tutorial Spring 3 - DynamicJasper - Hibernate Tutoria... (more)
category: ORM | clicked: 17 | comment | | source: krams915.blogspot.com
tags: DynamicJasper, Hibernate, HQL, Spring 3, Tutorial
1
Pins

hibernate-interview-questions

published 440 days, 18 hours, 5 minutes ago posted by jamesjames 478 days, 17 hours, 16 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Sunday, February 26, 2012 5:57:02 PM GMT
31.What is the advantage of Hibernate over jdbc? Hibernate Vs. JDBC :- JDBC Hibernate With JDBC, developer has to write code to map an object model's data representation to a relational data model and its corresponding database schema. Hibernate is flexible and powerful ORM solution to map Java classes to database tables. Hibernate itself takes care of this mapping using XML files so developer does not need to write code for this. With JDBC, the automatic mapping of Java objects with databa... (more)
category: ORM | clicked: 9 | comment | | source: www.developersbook.com
tags: Hibernate, Interview Question
1
Pins

Why i choose Hibernate for my project?

published 440 days, 18 hours, 5 minutes ago posted by jamesjames 478 days, 17 hours, 20 minutes ago
Wednesday, April 04, 2012 5:08:31 PM GMT Sunday, February 26, 2012 5:53:10 PM GMT
Currently my company is using IBATIS and pure SQLs as database persistence mechanism. I like SQL query very much, especially in tuning, but i do not like to write all SQL statement in Java application, it’s easy to hit typo error and what a stupid and tedious job? Finally my company has a new project come in, and this is the right time to propose Hibernate as our new java database persistence mechanism tool. In order to persuade my boss to accept the Hibernate as the new project consideration, i have to... (more)
category: ORM | clicked: 13 | comment | | source: www.mkyong.com
tags: Hibernate, ibatis
1
Pins

InfoQ: Scala or Java? Exploring myths and facts

published 442 days, 1 hour, 45 minutes ago posted by karlenekarlene 444 days, 22 hours, 7 minutes ago
Tuesday, April 03, 2012 9:28:24 AM GMT Saturday, March 31, 2012 1:06:01 PM GMT
The popularization of the Scala programming language, noticeable by the abundance of opinions and criticism on blogs and social networks (like this one by Nikita Ivanov from GridGain and the popular Yammer case), greatly increased the amount of information about the language. However, the quality of such information often leaves much to be desired. RelatedVendorContent Introducing SQLFire: a memory-optimized, high performance SQL database Simplify Java EE Deployment with Hotpatching, Rolling Restarts T... (more)
category: JAVA | clicked: 3 | comment | | source: www.infoq.com
tags: Facts, Java, Myths, Scala
1
Pins

Sweeet Wine: Play Framework - Excel report example

published 442 days, 1 hour, 45 minutes ago posted by jamesjames 478 days, 17 hours, 9 minutes ago
Tuesday, April 03, 2012 9:28:24 AM GMT Sunday, February 26, 2012 6:04:13 PM GMT
It's breeze to create excel reports using Play framework. Let me run thru an example. Let's create a sample project - excel-example. $ play new excel-example Then eclipsify and import into eclipse. $ play eclipsify excel-example Edit the dependencies.yml and include the excel module require: - play 1.2.3 - play -> excel 1.2.3 Run the play dependencies command. Play connects to the web and downloads the excel-module into the modules directory $ play deps excel-exam... (more)
category: Java EE | clicked: 32 | comment | | source: bnagur.blogspot.in
tags: Excel, play framework, Report
1
Pins

JBoss Drools - Getting started - Java Code Geeks

published 442 days, 1 hour, 45 minutes ago posted by jamesjames 458 days, 22 hours, 29 minutes ago
Tuesday, April 03, 2012 9:28:24 AM GMT Saturday, March 17, 2012 12:43:58 PM GMT
This post will be about me getting to grips with JBoss Drools. The reasoning behind it is: SAP bought out my company's current rules engine and Drools is one alternative we will be looking into as soon as someone has the skills to get a proof of concept up. Although there seems to be a fair amount of documentation, I always find it helps having walked through examples, which is what I am going to do here.Drools on first glance can be quite daunting, it is made up of : Drools Expert (rule engine) ... (more)
category: Java EE | clicked: 14 | comment | | source: www.javacodegeeks.com
tags: Jboss Drools, Tutorial
Previous 1 2 ... 70 71 72 73 74 75 76 77 78 79 ... 144 145 Next