Tuesday, August 12, 2014

Example HTML File to display Overlay using JQuery

Copy past the below html code into one html file then access the html in browser to see the Overlay functionality.

<html>
<head>
<title>Sample Overlay Test</title>
<link href=”css/jquery-ui.min.css” rel=”stylesheet” type=”text/css” />
<script src=”js/jquery.min.js”></script>
<script src=”js/jquery-ui.min.js”></script>

<style type=”text/css”>
#displayOverLayDiv {
width: 500px;
height: 500px;
display: none;
}

.overlay {
position: absolute;
top: 0;
left: 0;
display: none;
background-color: black;
background: url(“http://malliktalksjava.in”);
}

#frame {
border: 0;
width: 500px;
height: 500px;
}

#open {
border: 0;
width: 175px;
height: 24px;
background-color: #EAF8F8;
font-size: 18 px;
font-weight: bold;
}
</style>

<script type=”text/javascript”>
$(document).ready(function () {
$(‘#open’).click(function () {
$(“.overlay”).height($(window).height());
$(“.overlay”).width($(window).width());
$(“.overlay”).fadeTo(1000, 0.4);
$(“#displayOverLayDiv”).dialog({
width: “auto”,
height: “auto”,
show: {
effect: “slide”,
duration: 1500
},
hide: {
effect: “slide”,
duration: 1500
},
beforeClose: function () {
$(“.overlay”).fadeTo(1000, 0);
},
close: function () {
$(“.overlay”).css(“display”, “none”);
},
resizeStop: function (event, ui) {
$(“#frame”).height($(this).height());
$(“#frame”).width($(this).width());
}
});
});
});
</script>
</head>

<body>
<div id=’open’>
<a href=”#”>Click here to Get Overlay</a>
</div>
<div class=’overlay’>
<div id=’displayOverLayDiv’>

</div>
</div>
</body>
</html>

Wednesday, July 23, 2014

REST-ful API Evolution

As REST-ful data services become more widespread, it is becoming clear that they have to change to suit new consumer needs. This evolution is often disruptive to consumers, but it doesn't have to be. This session, a follow up to 'REST-ful API Design', discusses various strategies for evolving a REST-ful API and how the strategies can be implemented using Spring.



Source: https://www.youtube.com/watch?v=fSFh9UCBp5s&list=UU7yfnfvEUlXUIfm8rGLwZdA

Integrating Spring Batch and Spring Integration

This talk is for everyone who wants to efficiently use Spring Batch and Spring Integration together. Users of Spring Batch often have the requirements to interact with other systems, to schedule the periodic execution Batch jobs and to monitor the execution of Batch jobs. Conversely, Spring Integration users periodically have Big Data processing requirements, be it for example the handling of large traditional batch files or the execution of Apache Hadoop jobs. For these scenarios, Spring Batch is the ideal solution. This session will introduce Spring Batch Integration, a project that provides support to easily tie Spring Batch and Spring Integration together. We will cover the following scenarios: Launch Batch Jobs through Spring Integration Messages Generate Informational Messages Externalize Batch Process Execution using Spring Integration Create Big Data Pipelines with Spring Batch and Spring Integration.



Source: https://www.youtube.com/watch?v=8tiqeV07XlI

Building app management tools with Spring Boot

Spring Boot lets you write apps better than ever. But did you ever think about writing all those support scripts and tools you inevitably need with Boot as well? In this webinar, see how the Spring team has already picked up and run with Spring Boot CLI as a powerful way to manage things like all open issues against the 60+ getting started guides. See how to monitor application logs using a little Spring Integration, Spring WebSocket+STOMP, and other technologies, all with some lightweight Boot+Groovy code.



Source: https://www.youtube.com/watch?v=j3rrqOV68ik

Building a Shopping Cart in 24 Hours using Spring

Creating a transactional website that is secure, fast, and responsive is a challenge all on its own. Creating one in 24 hours borders madness, however with the resources that Spring brings to the table, this can be accomplished. Casey Doolittle and Phil Dutson were issued the task of creating a charity-benefit website two days before the sale started. By leveraging the flexibility and power that various Spring components bring to the table, this mighty feat was accomplished. During this talk Casey and Phil will discuss the how and why of using Spring 3.2.4, Spring Web MVC, and Spring Security 3.1.4 as their framework of choice to get the project done on time.




Source: https://www.youtube.com/watch?v=QBfuTBJv3qE

Thursday, May 22, 2014

Introduction to Apache Tomcat 8

Apache Tomcat 8 implements new versions of the Servlet, JSP and EL specifications as well as adding support for the new WebSocket specification. Work has also been completed on internal refactoring in a number of areas that will impact a number of Tomcat specific features.

This presentation will provide an overview of the changes and new features introduced by both the updated specifications and the Tomcat specific changes. This session will enable attendees to identify the Tomcat 8 features of greatest interest to them and provide them with the information required to start planning their migration to Tomcat 8.



Source: www.youtube.com/embed/nHdyBjb9gbU?list=PLgGXSWYM2FpNmY5a1MuomSvvovSWHWoAR

Getting started with Spring Data and Apache Hadoop

Big data and Hadoop is widely considered to be the next generation data platform. Hadoop is notoriously difficult to work with and just diving in and starting coding can easily lead to frustration. A better way is to leverage your existing Java and Spring skills to take advantage of these new technologies. In this presentation we will introduce Spring Data for Apache Hadoop and see how it can make working with Hadoop easier. We will also cover several ways to install a small Hadoop cluster that can be used to test your new Hadoop applications.



Source: https://www.youtube.com/watch?v=tIPA6vMZomQ&index=3&list=PLgGXSWYM2FpOXky1eHFbX0Eb0I58YmCNS

Introducing Spring XD

Developing Big Data applications is a relatively new art and developing a comprehensive solution can be challenging. Some of the key challenges arise from bringing together complex domains such as stream analysis, batch workflow orchestration and data import and export.

Several open source projects that address developing big data applications have emerged in the past few years but each project typically only address one of these domains.

Furthermore, being distinct independent projects they have different configuration and extensibility models. Spring XD is a new project that aims to tackle big data complexity. It builds upon proven Spring technologies and provides a scalable run time environment that is easily configured and assembled via a simple DSL.

Come discover how easy it is to create big data applications in this introduction to Spring XD.



Source: www.youtube.com/embed/3Wycvyqn0n4?list=PLgGXSWYM2FpOXky1eHFbX0Eb0I58YmCNS

Spring Integration Internals

A comprehensive review of message routing within a flow - including exactly how and when replyChannel and errorChannel headers are used how and when these headers apply in an error flow differences between synchronous and asynchronous processing (with task executors and pollers) Use of SpEL (for messagemethod mapping as well as certain "dynamic" config attributes) Type conversion (via SpEL, datatype channels, etc) Implicitly created channels How chains work How messages are mapped to methods when a message arrives at a component How gateway methods are mapped to messages (and a first look at some enhancements we are considering) Options for synchronous and asynchronous flows simple multi-threading aggregation aggregating messages from different sources How to debug Spring Integration applications Advanced configuration techniques

and more...

This presentation will be mainly demonstration and code walkthroughs.





Source: https://www.youtube.com/watch?v=mF2uq4DnVCg