OC4J

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • Implement JAAS based Authentication and Authorization for ADF Faces applications on OC4J 10.1.3 by Lucas Jellema   - [Clicks: 103]
    In this article, we will see how to implement Authentication and Authorization for the world’s simplest ADF Faces application, that demonstrates all features - including logout, presenting the name of the logged in user and hide & display of elements depending on the role of the current user. We will deploy this simplest of applications on the Embedded OC4J 10.1.3 server in JDeveloper as well as on a Stand-alone OC4J instance. This article only discusses file based (jazn-data.xml) repositories. In a subsequent article we will see how we can use our own custom Database based mechanism for Authentication and Authorization.
    [Includes sample code]
    http://technology.amis.nl/blog/?p=1426 - Dec, 2006
  • Prevent Stale DB Connections with the Latest OC4J by Raghu Donepudi   - [Clicks: 31]
    Applying the same database connection code for all session beans can lead to stale DB connections in large enterprise Java applications. Oracle Containers for J2EE (OC4J) has a new mechanism to nip this problem in the bud.
    [Includes sample code]
    http://www.devx.com/Java/Article/32728 - Oct, 2006
  • Spring Soup with OC4J and MBeans by Steve Button   - [Clicks: 78]
    In the context of J2EE containers that make extensive use of JMX, this enables Spring Beans to be treated as standard resources within the container. For J2EE containers such as Oracle Containers for J2EE (OC4J) that provide direct access to JMX MBeans from the management console, the Spring MBeans can be viewed and managed from the same administration console used to manage the server. This document uses a simple example of a JavaBean that is exposed as a Spring Bean. The Spring Bean is then packaged and included within a J2EE Web application and accessed from a JSP page.
    [Formats: pdf]
    http://www.oracle.com/technology/tech/java/oc4j/1013/whitepapers/OC4J-Spring-JMX.pdf - Jul, 2006
  • How-To : Using EJB 3.0 and Java Persistence API with Spring in OC4J by Debu Panda   - [Clicks: 283]
    This example application demonstrates Oracle's support for Spring with EJB 3.0 Session beans, container-managed entity manager with Spring's JpaTemplate. This sample uses a Spring-enabled EJB 3.0 Session bean (EmployeeFacade EJB) that uses a Spring bean(EmployeeService bean). The Spring bean uses a Data Access Object (EmployeeDAO) that uses Spring's JpaTemplate to manipulate entities. The persistence unit is managed by the EJB container by using a container-managed entity manager and passing it to Spring using setter injection. The application uses declarative transaction with EJB 3.0. For simplicity and to demonstrate the dependency injection support in the web container we have used a Servlet (InsertServlet) as a controller and it uses dependency injection to inject an instance of EmployeeFacade.
    http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-ejb30-jpa-spring/doc/how-to-ejb30-jpa-spring.html - Jun, 2006

[Top]