▼Ncom | |
▼Nfreemindcafe | |
▼Napache | |
▼Ncommons | CAS rest invoker client |
▼Nbeanutils | BeanUtils and PropertyUtils samples |
Nsample1 | PropertyUtils Samples. To set and read from indexed properties |
Nsample2 | BeanUtils Samples. To set and read from indexed properties |
▼Ncxf | Use soapUI to send the soap requests and jaxrs requests involving the SSL |
▼Njaxrs | |
Nsample2 | We need annotations on data object, otherwise the response will not be written |
Nsample3 | Data object should have a public constructor |
Nsample4 | Setting List<V> in response |
Nsample5 | Wrapping List<V> in one container object |
Nsample6 | Returning xml as application/xml and application/json |
Nsample7 | JaxRs servie running behind BasicAuth interceptor. ExceptionMappers example |
Nsample8 | Returning xml as application/xml and application/json |
Nsample9 | Incomplete ?? |
▼Nwsdl | |
Nsample1 | Generates java code from xsd and wsdl. Verifies basic, wsse token and 2 way auth interceptors. Uses soap out and fault interceptors. Uses SOAP UI as a client |
Nsample2 | Incomplete ?? |
Nsample3 | Incomplete ?? |
▼Nlog4j | |
Nsample1 | Additivity can turn off the appender chaining |
Nsample2 | Log4j uses dot notation to build logger hierarchy |
▼Nvelocity | |
Nsample1 | Expression that were used in settlement grid area condition check |
▼Napt | |
Nsample1 | Annotation Processing Tool examples |
▼Nconcurrency | Concurrency Samples |
Nsample1 | ThreadpoolExecutor having Runnable |
Nsample2 | ThreadpoolExecutor having Callable |
Nsample3 | FutureTask samples |
Nsample4 | Throttling sender example |
Nsample5 | Rendezvous example |
Nsample6 | Barrier example |
Nsample7 | ConcurrentHashMap example |
Nsample8 | Calling a code after some delay using ScheduledExecutorService |
▼Nformat | |
Nsample1 | System.out.printf samples |
▼Njdbc | JDBC and database related concepts |
Nsample1 | Global temporary table with on commit preserve rows; Incomplete ?? |
Nsample2 | Global temporary table with on commit delete rows; Incomplete ?? |
Nsample3 | Global temporary table with on commit delete rows; 1) create table using basicDataSource and then resuse 2) Create temporary table using jdbcTemple and then reuse 3) Create table using jdbcTemplate via sql script file and then reuse |
Nsample4 | |
▼Njmx | |
Nsample1 | This sample does not use JMXConnectorServer and the MBean can be accessed from jconsole |
Nsample2 | This sample uses JMXConnectorServer and client uses JMXConnector to access MBean |
Nsample3 | Accessing ActiveMQ BrokerViewMBean |
▼Nquartz | |
Nsample1 | Cron expression is used to define the constraints |
▼Nrmi | |
Nsample1 | Rmic and rmiregistry is used. This one does not uses SecurityManager |
Nsample2 | Rmic and rmiregistry is used. This one uses SecurityManager. But SecurityManager is not a must |
Nsample3 | Registry can be started from java code.rmic is not needed as well |
▼Nsecurity | Samples for protection domain, SecurityManager, AccessController, private key, certificate, jar signing etc |
Nsample1 | Incomplete ?? |
Nsample2 | To obfuscate and deobfuscate password using Jetty utility. Decrypt the text |
▼Nserialization | Xstream and Jettison based serialization Jackson is arguably the standard Java Library for processing JSON |
Nkryo | Incomplete ?? |
Nsample1 | Xml and json serialization. Serialization of POJO |
Nsample2 | Difference between map wrapper and pure map. Jettison is not ideal for JSON stuff |
Nsample3 | This example uses jackson library to generate JSON. Jackson is 100% JSON library |
Nsample4 | If a map has null value, serialization fails |
Nsample5 | Default ReflectionProvider skips constructor code or to be more detailed - the object initializer code |
▼Nsocket | |
Nsimple | Plain socket examples. Incomplete ?? |
▼Nssl | SSL socket examples |
Nsample1 | Client and server do not share public certificates, hence client auth fails |
Nsample2 | Client and server share each others public certificate hence client auth succeeds |
Nsample3 | Client and server share each others key+public certificate hence client auth succeeds |
Nsample4 | Server has clients public certificate but it also has additional serverkey1. This keys public certificate is not imported in clients store. Hence client auth fails as server sends the certficate for serverkey1. Since the key selection is based upon the hashcodes of the keys, the keys will not be predictably picked |
Nsample5 | Server has clients public certificate but it also has additional serverkey1. This keys public certificate is not imported in clients store. We use custom key manager to select serverkey. If there is no custom key manager, key selection is based on some hashing algorithm which will return the keys in random order |
▼Ntimezone | |
Nsample1 | DST examples.Settlements one, consult with Neha Incomplete ?? |
Nsample2 | Creation of TimeZone objects using Timezone ids |
Nsample3 | Calendar using TimeZone objects |
Nsample4 | TimeZone vs ZoneInfo. Incomplete ?? |
▼Nxml | |
▼Nxsd | XMLBean samples |
Nsample1 | 'po.xsd' is in 'purchase' namsespace. Without elementFormDefault="qualified" all local elements are in default namespace and not in target namespace |
Nsample2 | 'po.xsd' is in 'purchase1' namsespace and elementFormDefault is "qualified" |
Nsample3 | Xsd:anyType can contain any payload. Schema validation check samples |
Nsample4 | Xsd:anyType can contain any payload. Reading the anyType payload using XmlObject Incomplete ?? |
▼Norg | |
▼Napache | |
Nhello_world_soap_http | |