Skip to main content

Home/ Java Development/ Group items tagged Java

Rss Feed Group items tagged

Hendy Irawan

Apache Commons Daemon : Java based daemons or services - 0 views

  •  
    "Since 1994, the Java programming language evolved and became a valid tool to develop reliable and performant server applications as opposed to just applets and client applications. The major disadvantage of the Java platform is that still today the only portable way to start a Java application relies on a single point of entry: the public static void main(String[]) method. Having a single-point of entry is a valid solution for client applications, where interactively a user can command to the application to quit (which can terminate the Virtual Machine process at calling the System.exit(int) method), but in those cases where the application is not interactive (server applications) there is currently no portable way to notify the Virtual Machine of its imminent shutdown. A server application written in Java might have to perform several tasks before being able to shutdown the Virtual Machine process. For example in the case of a Servlet container, before the VM process is shut down, sessions might need to be serialized to disk, and web applications need to be destroyed. One common solution to this problem is to create (for example) a ServerSocket and wait for a particular message to be issued. When the message is received, all operations required to shut down the server applications are performed and at the end the System.exit method is called to terminate the Virtual Machine process. This method however, has several disadvantages and risks: In case of a system-wide shutdown, the Virtual Machine process may be shut down directly by the operating system without notifying the running server application. If an attacker finds out the shutdown message to send to the server and discovers a way to send this message, he can easily interrupt the server's operation, bypassing all the security restrictions implemented in the operating system. Most multi-user operating systems already have a way in which server applications are started and stopped. Under Unix based
Javin Paul

Difference between ConcurrentHashMap and Collections.synchronizedMap and Hashtable in Java - 0 views

  •  
    I just had a java interview and they asked me about difference between ConcurrentHashMap and Collections.Synchronized-map and then again difference between ConcurrentHashMap and Hashtable. I didn't know so I searched the net found this java hashmap tutorial, this site has some really good java hashmap tutorial e..g how hashmap works in java, how concurrentHashmap is different than hashtable etc.
sankarsharma

Core java interview questions | Java interview questions - 1 views

  •  
    Know about interview questions in java. Here is list of java interview questions which covers all main topics in java and categorized in basic java interview questions.
  •  
    Are you Searching Core Java interview questions? Javatpoint is providing a list of Java interview questions for freshers & experienced. There are the list of 170 core java interview questions. We assure that you will get here the 90% frequently asked interview questions and answers.
Merit Campus

Merit Campus - All Events | Monthly Programming Competition Results - 0 views

  •  
    online java training, java online tutorial, best java training, online java school
Java Vogue

Java Vogue - Java Tutorials for beginners - 0 views

  •  
    Good collection of tutorials for java related technologies like java , java8 , spring , sping boot , hibernate , reactjs and angularjs
allen peter

Free Java Projects - 0 views

  •  
    Get Free java Projects developed in core java which is easy to understand and very helpful for the final year students and also learn allot about Application of java.
mahesh 1234

Features of Java - 0 views

  •  
    There is given many features of java. They are also called java buzzwords. 1.Simple 2.Object-oriented 3.Platform independent 4.Secured 5.Robust 6.Architecture neutral 7.Portable 8.Dynamic 9.Interpreted 10.High Performance 11.Multithreaded 12.Distributed Simple Java is simple in the sense that: syntax is based on C++ (so easier for programmers to learn it after C++).
  •  
    There is given many features of java. They are also called java buzzwords. 1.Simple 2.Object-oriented 3.Platform independent 4.Secured 5.Robust 6.Architecture neutral 7.Portable 8.Dynamic 9.Interpreted 10.High Performance 11.Multithreaded 12.Distributed Simple Java is simple in the sense that: syntax is based on C++ (so easier for programmers to learn it after C++).
Hendy Irawan

The Castor Project - 0 views

  •  
    Castor is an Open Source data binding framework for Java[tm]. It's the shortest path between Java objects, XML documents and relational tables. Castor provides Java-to-XML binding, Java-to-SQL persistence, and more.
Hendy Irawan

Home - Codehaus - 0 views

  •  
    Janino is a super-small, super-fast Java™ compiler. Not only can it compile a set of source files to a set of class files like the JAVAC tool, but also can it compile a Java™ expression, block, class body or source file in memory, load the bytecode and execute it directly in the same JVM. Janino is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, e.g. expression evaluators or "server pages" engines like JSP. JANINO is integrated with Apache Commons JCI ("Java Compiler Interface") and JBoss Rules / Drools. JANINO can also be used for static code analysis or code manipulation. JANINO can be configured to use the javax.tools.JavaCompiler API (available since JDK 1.6), which removes the Java 5-related limitations.
Baron M

Java Developers Leery of IBM-Sun Merger - 0 views

  • Java must advance into the new world of the cloud and big developer productivity.
  • Java will become a legacy platform.
  • slow down innovation
  • ...10 more annotations...
  • It would certainly bring us down to two major players on the Java side: IBM and Oracle.
    • Baron M
       
      this is damn TRUE!
  • IBM likes to create these 'boil the ocean' kinds of solutions
    • Baron M
       
      this is the GENERAL PRACTICE of IBM and Oracle
  • IBM could wind up having six different JVM [Java Virtual Machine] implementations
    • Baron M
       
      I like this example... and most likely, this would happen if IBM buys SUN
  • it's a good thing for Sun to get out of the doldrums
  • Every time IBM has bought a company that was in a leadership position, that company seems to have lost market share
    • Baron M
       
      sad but it's a fact...
  • JCP for behaving like a "Russian commissar.
  • Although many have lost faith in the JCP, this is one area where a new steward could really breathe new life into Java
  • the speediest when it comes to keeping their Java technologies up-to-date
  • hold back innovation in support of their own client needs
  • server market would become a bit tighter and that playing field would be altered as well
Javin Paul

Java Classpath tutorial for beginners - 0 views

  •  
    I discovered this link while searching how classpath works in java , this link is good not only explains how to setup classpath in windows and linux but also helps to understand classpath working mechanism in java.
Hendy Irawan

Maven - Json-lib::Welcome - 0 views

  •  
    JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans. It is based on the work by Douglas Crockford in http://www.json.org/java. The following tables sumarizes the types conversion between java and javascript:
Merit Campus

Online java tutorial - Exception Handling - 0 views

  •  
    Java Topic / Java tutorial An exception is an abnormal condition that arises in a code sequence at run time. An exception is a run-time error. Most of these run-time errors could be prevented by doing proper input validation as shown in 151, but in cases where we can not prevent effectively we can use the exception handling mechanism provided by Java.
Merit Campus

Exceptions - why Java throws them - Online Java tutorial - 0 views

  •  
    Java Topic / Java tutorial An exception is an abnormal condition that arises in a code sequence at run time. An exception is a run-time error.
sankarsharma

Online Java Compiler and Java Editor Tool - 0 views

  •  
    Looking online free java compiler? Online Java compiler Tool provides the facility for java programmers to compile and run java program.
Merit Campus

Java Training - InterThread Communication - 0 views

  •  
    Inter Thread Communication is one of the distinct facility in multi threading application development of java. In real world Inter Thread communication based applications of java works faster when compared to all the other applications in java. Inter-thread communication is all about making synchronized threads communicate with each other. It is a mechanism in which a thread is paused running in its critical section and another thread is allowed to enter in the same critical section to be executed. It is implemented by following methods of Object class wait() : Tells the calling thread to give up monitor and go to sleep until some other thread enters the same monitor and call notify. Causes current thread to release the lock and wait until either another thread invokes the notify() method or the notifyAll() method for this object, or a specified amount of time has elapsed. The current thread must own this object's monitor.
anonymous

How Offshore Java Development Companies Create 2D Game In Java ME - 0 views

  •  
    With this article, we are going to provide you a quick introduction to Java ME development tools used by offshore Java Development vendors to create MIDlet. Java ME contains small JVM and a set of Java APIs that are used for developing mobile applications. So let's start and create your first mobile app with perfection.
Hendy Irawan

JAnnocessor is a new open-source framework for powerful, flexible, yet easy processing ... - 0 views

  •  
    "JAnnocessor is a new open-source framework for powerful, flexible, yet easy processing of annotated Java code. Its main purpose is compile-time, annotation-driven source code generation in a declarative and customizable fashion. JAnnocessor is built on top of Java APT, encapsulating the Java source code model in a rich and convenient high-level domain model that serves as a good target for expressive matching and transformation. Finally, a template engine is used for customizable template-based source code generation. Having simplicity and productivity in mind, JAnnocessor has many useful features that make it enjoyable: smart imports organization, logging delegation, graphical UI for real-time debug, hot swap of processors and templates, as well as out-of-the-box common annotations, processors and templates."
anonymous

IntroductionYet Another Java Service Wrapper - 0 views

  •  
    A Java centric implementation of the java service wrapper by Tanuki Software (JSW). Wrap a Java application as as Windows service or UNIX daemon.
Baron M

Page 2 - Java Developers Leery of IBM-Sun Merger - 0 views

shared by Baron M on 01 Apr 09 - Cached
  • IBM still runs basic physics last I checked and has deep resources in research to throw at any problem it wants
  • with more money and influence than nearly all of their competitors
  • both companies are highly invested in Java, which means it will continue, but in what form we have no idea
  • ...7 more annotations...
  • IBM is not interested in Sun software but in the Sun hardware and storage
    • Baron M
       
      different perspective
  • pose a number of integration issues for IBM Software Group
  • expect that IBM will take the long view, that an open, flourishing ecosystem around Java will be the tide that lifts all boats
  • some observers say IBM would do well to merge the best parts of both platforms into one.
  • IBM has been a proponent of open standards in the Java ecosystem, and I expect that will continue
  • shed a lot of the weaker products (and a significant number of redundant staff)
    • Baron M
       
      conclusion: SUN and JCP suck, so they deserve this. God bless java and java dependent vendors.
‹ Previous 21 - 40 of 499 Next › Last »
Showing 20 items per page