How to create OpenLayers map using GWT?
GWT is a web toolkit provided by Google. This toolkit also provides facility of map using openlayers library. Include openlayers jar in your project and then load the map using java code. This is pure JAVA plugins we do
How to make Jetty WebSocket in JAVA?
What is WebSocket? Web socket is a protocol which provides full duplex communication over the TCP protocol. Web socket is a intermediate server which provides bi-directional communication over TCP protocol. Bi-directional means both sender and receiver can send messages at
How to drag drop and resize images in canvas using kineticjs?
Canvas is a new tag of HTML5. This is specially used for graphics designing. So we can design graphics using HTML5 and jquery. There are many jquery libraries available for drag, drop and resize the image. But how to do
How to create class and methods using javascript?
Generally we have used classes and methods in programming languages only. But we can also use “oops concept” in scripting language also. So now in your mind question will arise that how to use these things in javascript. This is
Handle Binary data with QuickServer using Eclipse IDE.
Let’s create main class to listen on specific port. package com.quick; import java.io.File; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; import java.util.logging.SimpleFormatter; import org.quickserver.net.AppException; import org.quickserver.net.server.DataMode; import org.quickserver.net.server.DataType; import org.quickserver.net.server.QuickServer;