Site is hosted from private webhotel located at home with other 30+ sites (linux platform). Last updated 2021-07-05 20:28:22


Site Menu
About
Articles
Source
Binaries
CV
Move your mouse over the menu items.


 

Meet the teams..


Disclaimer: tests freely reproducable for everybody anytime. Results only valid at stated timestamps


 
 
 
 
 
 


Always please consider professionals... for a professional job !





JAAS Hello-World basics - full source code examples explained


Here is a number of adaptations of JAAS in different forms. Assuming you are running JDK 1.4 - or have JAAS downloded separately and installed with an older JDK.


JAAS at most basic level - authentification of single credential is full explained source code for simple authentication

JAAS through a security manager is adaptation of authentication through a security manager

JAAS for multiple credentials - username/password is a source code parts required for validation of both username and password

JAAS authorisation example is a full explained source code example for JAAS with authorization

JAAS RMI server security is a full explained source code example for JAAS through pure RMI - example running on simple RMI server only - no EJB server

JAAS login module for the BEA Weblogic 7.x EJB server source and explanation for securing EJB applications with JAAS login on the BEA Weblogic server 8.x using the pluggable security provider concept.


www.j2ee.dk... www.designpatterns.dk... It's www.seniorconsultant.dk !



JMS basics - full source code for the Weblogic server


Basicly hello-world stuff..


JMS point-to-point communication examples.

JMS publish / subscriber communication examples

JMS chat example example using publish/subscriber architecture

JMS Message Bean communication example for the Weblogic server only





Interfacing: MQseries - remote J2EE client - Weblogic 8.1.4+


With offset from practical example source code will be quite carefully dealt with MQ (5.2.1) 5.3 / 6.0 and how to interface

  • non-transactionally or transactionally (source code examples)
  • using standard JMS J2EE interface classes (Queue,QueueSession,..)
  • using native MQ J2EE interface (MQQueue, MQQueueSession)
  • lightweight, remote Java client (not on same machine as MQ installation)
  • non-transactionally / transactionally straight out a Sun JVM to MQ
  • ...and using JMS message data bridges in BEA Weblogic to MQ
  • with MQ lib forced in global classpath: WLS JMS bridges
  • with MQ lib packaged just with the application
  • what is this com.ibm.mqetclient.jar client... how does it work
  • the client authentification part - what to do about a javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication


  • As a humble consultant it is my objective to serve! So I only hope this will be of help to some people.


    Standard JMS J2EE interfacing: remote non-transactionally J2EE command-line client to MQ shows how to make simple contact to MQ.

    Native MQ J2EE interfacing: remote non-transactionally J2EE command-line client to MQ shows how to make simple contact to MQ.

    Remote J2EE client to MQ and back to Weblogic - non-transactionallyshows how to configure MQ bottom up - setting up the Java client to interact directly with MQ - and finally interfacing a Weblogic message bean to pick up messages.

    Remote J2EE client to MQ and back to Weblogic - transactionallyshows again how to configure MQ bottom up - building Java client to interact directly with MQ - and finally interfacing a Weblogic message bean to pick up messages.

    Resource adapter integrating Weblogic 8.1+ with IBM MQ - non-transactionally and transactionally - out there and all the way back!!! easy cut'n paste and your're up and running any way you like.

    how the com.ibm.mqetclient works! shows how IBM actually enables transactional mode - how you can actually check for support for it in the class com.ibm.MQEnvironment - and why there is transactional support for a lightweight J2EE client in MQ 5.2.1 / 5.3 / 6.0

    J2EE client authenticating against Websphere MQseries provides a follow-up discussion about security problems (javax.jms.JMSSecurityException: MQJMS2013: invalid security authentication) when connecting a client to MQ - either straight from a Sun JVM to MQ - or out from a Weblogic server to MQ

    Replacing use of Weblogic "ForeignJMSServer" databridge to Websphere MQ 5.2.1 / 5.3 / 6.0 is an example of how to replace usage of container-controlled ForeignJMSServer with a data bridge relay bean - avoiding MQ client classes in global Weblogic claspath



    www.j2ee.dk... www.designpatterns.dk... It's www.seniorconsultant.dk !



    Weblogic - Cluster - WLI


    I have a Tomcat 5.5 cluster article coming also...


    Cluster-enabling a servlet runs through the basics for a servlet using in-memory replication

    Practical example on service level upgrading a WLI domain/application describes lift from <WLS 8.1.2 WLI 8.1> to <WLS 8.1.6 WLI 8.5>



    Opensource Java SFtp (SSH) auto-resume of interrupted transfers from last transfered file position


    Java examples demonstrating necessary code and its use...


    Java Opensource SFtp (SSH) auto-resume describes how to run Java source code example for SFtp auto-resume from last interrupted transfered file position



    Hibernate 3.x


    Simple example... as put on my site www.hibernate.dk.... Intended as part of quick demo of common persistance layers and frameworks.

    Hibernate 3.x persisting an object running straigt from command line towards pointbase database.

    This site is currently in the process of being updated... Not quite finished yet.

    Total hits in last days

    Do you care

    about security, open-source, and who visits your website? Well, I do...

    Total hits on this site since start since 2003.06.22

    2004 (c) Valentini


    My PGP public key for mail contacts..

    <taken offline at the moment>