Skip to main content

Home/ Java Development/ Group items tagged programming

Rss Feed Group items tagged

Hendy Irawan

jMock - An Expressive Mock Object Library for Java - 3 views

  •  
    JMock is a library that supports test-driven development1 of Java2 code with mock objects3. Mock objects help you design and test the interactions between the objects in your programs.
  •  
    "JMock is a library that supports test-driven development of Java code with mock objects. Mock objects help you design and test the interactions between the objects in your programs. The jMock library: makes it quick and easy to define mock objects, so you don't break the rhythm of programming. lets you precisely specify the interactions between your objects, reducing the brittleness of your tests. works well with the autocompletion and refactoring features of your IDE plugs into your favourite test framework is easy to extend."
mahesh 1234

Simple Program of Java - 0 views

  •  
    In this page, we will learn how to write the hello java program. Creating hello java example is too easy. Here, we have created a class named Simple that contains only main method and prints a message hello java. It is the simple program of java.
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
Merit Campus

Merit Campus Goal is to Identify Students with Good Application Skills and He... - 0 views

  •  
    Welcome to Merit Campus. Merit Campus is a website which helps in learning and improving your programming skills using the Java programming language
marketngedwisor

Javascript - The First Programming Language one should learn - 0 views

  •  
    Want to become a Web Developer but confused about which Programming Language to learn first? New-Age developers highly suggest Javascript because of its Versatility and Effectiveness to extend functionality and make websites extremely Rich and Scalable. If you are looking for a high growth Web Development Job Role, do checkout the MEAN Stack Developer Career Path by edWisor and get 4 Guaranteed interviews at top tech companies.
Rinav G

Overview (Java Platform SE 6) - 0 views

  • Package java.util.concurrent.atomic A small toolkit of classes that support lock-free thread-safe programming on single variables.
  • A small toolkit of classes that support lock-free thread-safe programming on single variables. In essence, the classes in this package extend the notion of volatile values, fields, and array elements to those that also provide an atomic conditional update operation of the form: boolean compareAndSet(expectedValue, updateValue);
  • Atomic classes are not general purpose replacements for java.lang.Integer and related classes. They do not define methods such as hashCode and compareTo. (Because atomic variables are expected to be mutated, they are poor choices for hash table keys.)
  • ...4 more annotations...
  • The specifications of these methods enable implementations to employ efficient machine-level atomic instructions that are available on contemporary processors.
  • java.util.concurrent.atomic Class AtomicInteger java.lang.Object java.lang.Number java.util.concurrent.atomic.AtomicInteger
  • An int value that may be updated atomically. See the java.util.concurrent.atomic package specification for description of the properties of atomic variables. An AtomicInteger is used in applications such as atomically incremented counters, and cannot be used as a replacement for an Integer. However, this class does extend Number to allow uniform access by tools and utilities that deal with numerically-based classes.
  • int incrementAndGet()           Atomically increments by one the current value.
  •  
    Package java.util.concurrent.atomic Description A small toolkit of classes that support lock-free thread-safe programming on single variables. In essence, the classes in this package extend the notion of volatile values, fields, and array elements to those that also provide an atomic conditional update operation of the form: boolean compareAndSet(expectedValue, updateValue);
Hendy Irawan

Apache CXF -- Index - 0 views

  •  
    Apache CXF is an open source services framework. CXF helps you build and develop services using frontend programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports such as HTTP, JMS or JBI. CXF includes a broad feature set, but it is primarily focused on the following areas: Web Services Standards Support: CXF supports a variety of web service standards including SOAP, the WS-I Basic Profile, WSDL, WS-Addressing, WS-Policy, WS-ReliableMessaging, WS-Security, WS-SecurityPolicy, WS-SecureConverstation, and WS-Trust (partial). Frontends: CXF supports a variety of "frontend" programming models. CXF implements the JAX-WS APIs (TCK compliant). CXF JAX-WS support includes some extensions to the standard that make it significantly easier to use, compared to the reference implementation: It will automatically generate code for request and response bean classes, and does not require a WSDL for simple cases. It also includes a "simple frontend" which allows creation of clients and endpoints without annotations. CXF supports both contract first development with WSDL and code first development starting from Java. For REST, CXF also supports a JAX-RS (TCK compliant) frontend. Ease of use: CXF is designed to be intuitive and easy to use. There are simple APIs to quickly build code-first services, Maven plug-ins to make tooling integration easy, JAX-WS API support, Spring 2.x XML support to make configuration a snap, and much more. Binary and Legacy Protocol Support: CXF has been designed to provide a pluggable architecture that supports not only XML but also non-XML type bindings, such as JSON and CORBA, in combination with any type of transport. To get started using CXF, check out the downloads, the user's guide, or the mailing lists to get more information!
Hendy Irawan

Jisql - a Java based interactive SQL application - 0 views

  •  
    Jisql is a Java based utility to provide a command line interactive session with a SQL server. This application is conceptually modeled on the Sybase 'isql' program with, obviously, strong similarities to Microsoft SQL/Server isql and osql (as Microsoft got SQL Server from Sybase). The program can act in a similar way to Oracle's sqlplus and PostgreSQL's psql.
Merit Campus

Merit Campus - Learn Java online|Java online training|online java school Merit Campus ... - 0 views

  •  
    Join Merit Campus Java training school to learn core java perfectly. With 20+ years of Java development experience we provide numerous java programs and make you expert at Core Java Programming Skills.
Merit Campus

Merit Campus|Core Java Topics|Learn Java Programming|core java online training - 0 views

  •  
    Core Java Topics - Overview Of Programming With Java, Datatypes, Variables, Operators, Control Statements, Methods - Importance, Array - Overview, Classes, Class Inheritance, Methods Overiding and Overloading, Abstract Class And Methods, Interfaces, Packages and Access Control, final, static and others, Object Oriented Concepts - Revisited, Exceptions, Generics, Strings, Exploring java.lang, Collections Framework, More Utility Classes, Input/Output: Exploring java.io, Other Core Java Topics
Gistia Labs

Learn Ruby on Rails Programming Language in Miami - 0 views

  •  
    Learning & creating an app on ruby on rails with Gistia Labs. We can help you to given ruby programming with training & you get job easily.
manvepreeti

10 Highest Paying Programming Languages for 2016 - 0 views

  •  
    The world of programming language is full of action with new languages being written, frameworks being created, some riding the ladder of popularity while others falling off the cliff. So as programmers it's important to keep one's eyes and ears open to the emerging trends so that one doesn't lose out on the potential opportunities.
Javin Paul

Java Swing Interview Questions for GUI Programmer - 0 views

  •  
    Interview Questions on Java Swing for GUI Programmer.Swing is a difficult technology to learn and for programming GUI in swing you need a bit of expertize which makes demand of Swing developer quite high and same time make interview process for swing developer quite challenging and testing. Adding to it there are not much swing interview questions available on net. This article solve this problem by providing some of the best swing interview questions asked in banks. these questions are practical , genuine and same time challenging.
mahesh 1234

Object Class in Java - javatpoint - 0 views

  •  
    In this page, we will learn about the objects and classes. In object-oriented programming, we design a program using objects and classes. Object is the physical entity whereas class is the logical entity. A class works as a template from which we create the objects.
mahesh 1234

Java OOPs Concepts - 0 views

  •  
    OOPs (Object-Oriented Programming). Java is an object oriented programming language. Let's see the concepts of oops.
nick puruzio

Scala (programming language) - Wikipedia, the free encyclopedia - 0 views

  • Scala supports functional programming.
  •  
    "concisely express solutions in an elegant,[6] type-safe and lightweight (low ceremonial) manner"
Merit Campus

Can you write a program to get the Highest Common Factor (HCF) of fractions. - 0 views

shared by Merit Campus on 14 Oct 14 - No Cached
  •  
    Can you write a program to get the Highest Common Factor (HCF) of fractions. { {4 / 5}, {5 / 6}, {14 / 15} } =>1 / 30 { {3 / 13}, {6 / 7}, {18 / 7} } =>3 / 91 { {14 / 39}, {35 / 9}, {28 / 3}, {91 / 11} } =>7 / 1287 { {57 / 10}, {95 / 12}, {133 / 90} } =>19 / 180 {17 / 47} =>17 / 47 Try it here: http://java.meritcampus.com/java_questions/231/try
Hendy Irawan

www.qi4j.org - www.qi4j.org - 0 views

  •  
    The short answer is that Qi4j is a framework for domain centric application development, including evolved concepts from AOP, DI and DDD. Qi4j is an implementation of Composite Oriented Programming, using the standard Java 5 platform, without the use of
Hendy Irawan

Marc Logemann Blog: Ext GWT or SmartGWT or Vaadin - 0 views

  •  
    From a technical standpoint Ext GWT and SmartGWT are quite equal apart from the fact that Smart has more to offer on the server side. Vaadin with its complete different apprach (not from the programming style but from runtime behavior) needs to be compared in a different fashion. Things like GUI responsiveness and overall performance must be carefully checked. But on the pro side you have a very small js client with vaadin which results in fast startup in the browser. On the other hand, our product is a business product and we are planing to rewrite the AdminConsole. This is something that will be used in intranets in 95% of the time. It doesnt make much of a differnece if you load 100k or 1Mb from inside the LAN.
Hendy Irawan

lambdaj is a library that manipulate collections in a pseudo-functional and statically ... - 0 views

  •  
    lambdaj is a library that makes easier to address this issue by allowing to manipulate collections in a pseudo-functional and statically typed way. In our experience to iterate over collection, especially in nested loops, is often error prone and makes the code less readable. The purpose of this library is to alleviate these problems employing some functional programming techniques but without losing the static typing of java. We impose this last constraint to make refactoring easier and safer and allow the compiler to do its job.
1 - 20 of 212 Next › Last »
Showing 20 items per page