Home » Java (page 606)

Java

RTMP To RTSP re-stream using wowza and xuggler

Note: This is part of our “Xuggler Development Tutorials” series. Hello to everyone! For the last three months we have been working on a teleconference project. We decided that a web based application, using technologies like Flex would be the best approach for such a demanding project. As the complexity of the software and the demands of telecommunication providers increased, ...

Read More »

An Introduction to Apache Lucene for Full-Text Search

In this tutorial I would like to talk a bit about Apache Lucene. Lucene is an open-source project that provides Java-based indexing and search technology. Using its API, it is easy to implement full-text search. I will deal with the Lucene Java version, but bear in mind that there is also a .NET port available under the name Lucene.NET, as ...

Read More »

JBoss 4.2.x Spring 3 JPA Hibernate Tutorial Part #2

spring-interview-questions-answers

We continue our tutorial about Spring 3, Hibernate, JPA and JBoss 4.2.x – 4.3 integration. The last step is to create a Spring service to expose functionality to the end user. We have to create an interface class and the relevant implementation class. First the interface class :           package com.mycomp.myproject.services; import com.mycomp.myproject.dto.EmployeeDTO; public interface ExampleService ...

Read More »

Getting Started with YouTube Java API

In this tutorial I am taking a look at Google’s YouTube API which allows you to empower your application with YouTube’s features. YouTube is one of the “killer” Internet applications and its traffic comprises of a huge portion of the total internet traffic. Before we get started, make sure you have read the API Overview Guide. We will mainly deal ...

Read More »

Java beginners Guide

First steps in Java programming. For a introduction tutorial in Java please see the official help from SUN here where, except of the core language, several technologies and APIs are introduced. We propose to begin by reading the trails covering the basics and continue with the rest of the tutorials. We propose to : Keep the code straightforward and easy ...

Read More »

JBoss 4.2.x Spring 3 JPA Hibernate Tutorial

spring-interview-questions-answers

After spending many hours searching the web, trying to find the most efficient way to use Spring, JPA and Hibenate for several projects we concluded to the configuration that will be presented below. Integrating Spring with JPA and Hibernate consists of several steps : Configuration of the Spring container Configuration of the JPA ORM layer Configuration of Hibernate Second lvl ...

Read More »

Scheduling principals in Java applications

java-interview-questions-answers

Many projects require scheduling functionality, such us scheduled jobs, repeated jobs, asynchronous execution etc. Our preferred method is to use an enterprise job scheduler such us Quartz from OpenSymphony. One of the most tricky parts when coding using scheduled tasks is the execution part. The main rule of thumb here is to pay attention to the actual code that will ...

Read More »

Messaging principals in Java applications

java-interview-questions-answers

Messaging is a crucial aspect of every Java application, especially for applications involving Enterprise Application integration (EAI) or separation of concerns, such us multi-tier WEB applications. Messaging can be separated in two main categories, synchronous and asynchronous. With synchronous messaging the initiator of a conversation waits for a replay to each submitted request, on the other hand, in asynchronous messaging ...

Read More »