Skip to main content

Home/ Java Development/ Group items tagged example

Rss Feed Group items tagged

Hendy Irawan

AtomPub interface for Guvnor - JBoss Community - 0 views

  •  
    "http://www.atompub.org/ defines a simple interface over HTTP to publish and subscribe to artifacts (files) and collections of artifacts (services/packages). AtomPub interface serves following purposes: 1: provide "feeds" for people/systems to monitor for changes: For example, user subscribes to a feed which lists contents of package or user subscribes to feed which lists changed contents in a package 2. provide the default remote api to push/pull content and meta data from the repository. This allows other applications to integrate with Guvnor by accessing repository content via atom pub programmatically."
Hendy Irawan

A simple JAX-RS security context example in GlassFish - butonic.de - 0 views

  •  
    When creating a REST api with Java EE 6 and JAX-RS there comes the time when you start thinking about security. In our case we were trying to set up HTTP Basic Auth for the REST api to identify users and keep them from deleting other peoples stuff. It took me a while to understand the different aspects of configuring HTTP Basic Auth when using GlassFish:
Hendy Irawan

Java Tips - Inheritance and the Java Persistence API - 0 views

  •  
    "This Tech Tip presents some of the features of inheritance supported in the Java Persistence API. A sample package accompanies the Tech Tip. It demonstrates some of the features discussed in the tip. The examples in the tip are taken from the source code for the sample (which is included in the package). The sample uses an open source reference implementation of Java EE 5 called GlassFish. You can download GlassFish from the GlassFish Community Downloads page."
Hendy Irawan

Building and Running ICEfaces Examples with Maven - ICEfaces - ICEfaces.org Community Wiki - 0 views

  •  
    The maven2 poms and jars for this distribution are located in the following repository location
Hendy Irawan

snakeyaml - YAML parser and emitter for Java - Google Project Hosting - 0 views

  •  
    YAML is a data serialization format designed for human readability and interaction with scripting languages. SnakeYAML is a YAML parser and emitter for the Java programming language. SnakeYAML features a complete YAML 1.1 parser. In particular, SnakeYAML can parse all examples from the specification. Unicode support including UTF-8/UTF-16 input/output. high-level API for serializing and deserializing native Java objects. support for all types from the YAML types repository. relatively sensible error messages.
Merit Campus

Increment, Decrement, Modulus, Compound Assignment Operators - 0 views

  •  
    This video explains about the increment, decrement, modulus and compound assignment operators under the Arithmetic Operators Group. It discusses few examples using these operators.
Merit Campus

Method Overriding - Example | Learn Java Online - 0 views

  •  
    Java Topic / Java tutorial Here we will discuss about Method Overriding in detail and what are the different ways a method can be overridden.
mikhail-miguel

Code Academy - 0 views

  •  
    TestLink, Inter Process Communication (IPC), Logo, PySpark, Google Tag Manager, Free IFSC Code, SAP Workflow, Scipy, SAP Hybris, FlexBox, Axure RP, OpenShift, Apache Bench, qTest, TestLodge, Power BI, Jython, Financial Accounting, text and video tutorials for UPSC, IAS, PCS, Civil Services, Banking, Aptitude, Questions, Answers, Explanation, Interview, Entrance, Exams, Solutions, Examples, Online, Quiz, Current Affairs 2017, Aptitude Test, Verbal Ability, General Knowledge, Reasoning, Mock test, Kubernetes, Spring JDBC, Java Concurrency, Spring AOP, Gerrit, Spring MVC, Indian Polity, Histor...
mahesh 1234

Javatpoint | Java Tutorial | Android | Java Frameworks - 0 views

shared by mahesh 1234 on 20 Mar 13 - No Cached
  •  
    Know more about basic java functions with unique examples. Java is a best technology for security and easy to use.Here we clear you basic java concepts with best tutorials.
mahesh 1234

Method Overloading in Java - 0 views

  •  
    Do you Want To know About method Overloading in Java? We provide you best notes on method overloading with great examples which can easily understandable for everyone.There are two ways to overload the method.
  •  
    If a class have multiple methods by same name but different parameters, it is known as Method Overloading. If we have to perform only one operation, having same name of the methods increases the readability of the program.
Javin Paul

What is Constructor overloading in Java with Example - 0 views

  •  
    Quick guide on what is Constructor overloading and how to implement constructor overloading in Java.
mahesh 1234

Encapsulation, Encapsulation in Java, Encapsulation Tutorial, Encapsulation Example- Ja... - 0 views

  •  
    Encapsulation is a process of wrapping code and data together into a single unit. It is a way to achieve data hiding.
mahesh 1234

Runtime Polymorphism in Java - javatpoint - 0 views

  •  
    Runtime Polymorphism. Let's learn what is runtime polymorphism with suitable example.
mahesh 1234

Command Line Argument, Command Line Argument in Java, Tutorial, Example - Javatpoint - 0 views

  •  
    Advantage of OOPs Naming Convention Object and Class Method Overloading Constructor static keyword this keyword Inheritance(IS-A) Aggregation(HAS-A) Method Overriding Covariant Return Type super keyword Instance Initializer block final keyword Runtime Polymorphism Dynamic Binding instanceof operator Abstract class Interface Package Access Modifiers Encapsulation Object class Object Cloning Java Array Call By Value strictfp keyword API Document Command Line Arg
mahesh 1234

Creating Api Document, Api Document, Creating Api Document Tutorial, Example - Javatpoint - 0 views

  •  
    Advantage of OOPs Naming Convention Object and Class Method Overloading Constructor static keyword this keyword Inheritance(IS-A) Aggregation(HAS-A) Method Overriding Covariant Return Type super keyword Instance Initializer block final keyword Runtime Polymorphism Dynamic Binding instanceof operator Abstract class Interface Package Access Modifiers Encapsulation Object class Object Cloning Java Array Call By Value strictfp keyword API Document Command Line Arg
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.
Rinav G

[JavaSpecialists 177] - Logging Part 3 of 3 - 0 views

  • Writing your own logging framework is the perfect coding crime.
  • Writing your own logging framework is the perfect coding crime
  • Even the Sun engineers fell into this trap. Prior to Java 4, we had a perfectly good logging framework in Log4J. However, instead of adopting this into the standard Java distribution, we ended up with java.util.logging. There are lots of Java logging frameworks available, even meta-logging frameworks like SLF4J and Jakarta Commons. These are supposed to abstract the logging frameworks so you can change the implementation without touching your code.
  • ...5 more annotations...
  • Logging Levels
  • In Log4J for example, we have six default levels, FATAL, ERROR, WARNING, INFO, DEBUG and TRACE.
  • Since it is tricky assigning the correct levels in our code, we should regularly do code reviews with specific emphasis on logging levels.
  • We should be able to adjust the log levels of our individual components at runtime without restarting our application.
  • Silent Operation
  •  
    Writing your own logging framework is the perfect coding crime. If you can convince your manager to put it on the project plan, you are guaranteed to have success. At the end of each day, you will go home feeling happy and satisfied. It will feel like you are doing something creative. You will get the intellectual stimulation without the risk of failure. Even the Sun engineers fell into this trap. Prior to Java 4, we had a perfectly good logging framework in Log4J. However, instead of adopting this into the standard Java distribution, we ended up with java.util.logging. There are lots of Java logging frameworks available, even meta-logging frameworks like SLF4J and Jakarta Commons. These are supposed to abstract the logging frameworks so you can change the implementation without touching your code. http://www.javaspecialists.eu/archive/Issue177.html
‹ Previous 21 - 40 of 46 Next ›
Showing 20 items per page