In WebLogic Workshop 9.1 and above, we can create following directory structure create custom EAR application, which can be used under Eclipse.
Best Practices from (edocs.bea.com)
# Use the same source directory structure with your own J2EE application projects, so you can utilize the WebLogic Server build scripts to compile and deploy your applications. The following summarizes the contents of a simple source directory that follows the WebLogic split development directory structure format:
\myProject
\myProject\myEar
\myProject\myEar\META-INF\application.xml
\myProject\myEar\myEjb\com\*\MyEjbGenEjb.ejb
\myProject\myEar\myEjb\com\*\*.java
\myProject\myEar\myWebService\com\*.*.java
\myProject\myEar\myWebApp\*.jsp
\myProject\myEar\myWebApp\WEB-INF\web.xml
\myProject\myEar\myWebApp\WEB-INF\src\com\*\*.java
Saturday, December 01, 2007
Wednesday, November 21, 2007
Switch to OpenOffice - FREE
Tired of buying Microsoft Office software everytime. Are you spending too much money to buy Microsoft Office?
Time to say Final Goodbye to Microsoft Office.
Sun donated OpenOffice to public.
It is FREE and replacement to MICROSOFT OFFICE.
Here is the link.
http://java.com/en/download/javacom_update.jsp
Time to say Final Goodbye to Microsoft Office.
Sun donated OpenOffice to public.
It is FREE and replacement to MICROSOFT OFFICE.
Here is the link.
http://java.com/en/download/javacom_update.jsp
Tuesday, October 09, 2007
Spring 2.0 - Rod Johnson Presentation
Rod Johnson, Founder of the open source Spring Framework, Author of J2EE without EJB
Topic: Spring 2.0 and Beyond
In this presentation, recorded at TSSJS 2007, Rod Johnson details the improvements made to the Spring 2.0 framework. Spring 2.0 introduced major enhancements in the Spring Framework making it both simpler to use and more powerful. In this session, Rod discusses some of the enhancements through code examples, focusing on: - Extensible XML configuration, support for dynamic languages in the Spring component model, and support for JPA.
Topic: Spring 2.0 and Beyond
In this presentation, recorded at TSSJS 2007, Rod Johnson details the improvements made to the Spring 2.0 framework. Spring 2.0 introduced major enhancements in the Spring Framework making it both simpler to use and more powerful. In this session, Rod discusses some of the enhancements through code examples, focusing on: - Extensible XML configuration, support for dynamic languages in the Spring component model, and support for JPA.
Oracle - Shared Server
I got blog pointer from Jonathan Lewis about Oracle Shared Server
This is well written by Howard Rogers. Here is info from Jonathan Lewis, Oracle Scratchpad.
This item from Howard Rogers sums up the shared server technology (formerly multi-threaded server, or MTS) so well that I decided it was worth a special mention.
This is well written by Howard Rogers. Here is info from Jonathan Lewis, Oracle Scratchpad.
This item from Howard Rogers sums up the shared server technology (formerly multi-threaded server, or MTS) so well that I decided it was worth a special mention.
Friday, October 05, 2007
Friday, August 03, 2007
10 things I learned about using Hibernate/JPA successfully
Nice article link posted by suresk
10 things I learned about using Hibernate/JPA successfully
10 things I learned about using Hibernate/JPA successfully
JBossSeamFramework - Deep Integeration
JBossSeamFramework - Deep Integeration by Michel Yuan
Playing Around with Star Transformations and Bitmap Indexes
Mark Rittman Mand Consulting has blog entry about
Must read article.
Playing Around with Star Transformations and Bitmap Indexes
It is very nice article about Oracle, Star Transformation.Must read article.
Thursday, July 26, 2007
Web page to PDF Firefox extension
Found following information from Vinny Carpenter's Blog
- Web page to PDF Firefox extension - LOOP is a unique extension for Firefox that converts the web browser into a proper PDF writer that can do some amazing things sometime not possible in other free PDF conversion software
JasperReports - Introduction with Priting
Marc Nuri's Happy Coding Blog nice code snippets and step by step guide to create JasperReports setup and printing.
REST webservices on RAILS
Nice article introduces Web services in Rails and focuses on a strategy known as Representational State Transfer (REST). This articled posted in developerWorks of IBM by Bruce Tate, President,RapidRed
What is JAXB?
Java Architecture for XML Binding (JAXB)
Nice introduction article from SDNJava-XML mapping made easy with JAXB 2.0 tutorial was posted by John Ferguson Smart on Javaworld on 06/26/06
Tuesday, June 19, 2007
Google Gears
Google Gears: Enabling Offline Web Applications
Google Gears is an open source browser extension that lets developers create web applications that can run offline
Tuesday, June 12, 2007
Database App Development and Migration: Tools That Rock
Man, Mike Hichwa's team at Oracle is spinning out some incredible database tools. These are the guys and gals responsible for two of the most innovative things to come out of here in a long time, Application Express and SQL Developer. I view this group as a "skunk works" that has some pretty nice flexibility in terms of its role within the Server Technologies division here at Oracle, and the results show it.
Read More
Read More
dW: Enable REST with Web services, Part 1: REST and Web services in WSDL 2.0
Glen Mazz posted blog about dW: Enable REST with Web services, Part 1: REST and Web services in WSDL 2.0
Monday, June 11, 2007
Flex - Open Source
Recently I found many interesting links about FLEX and J2EE.
James Ward Blog
James Ward Blog
Video Tutorial: Creating an expressive application using Flex, Hibernate, and XFire - by Bruce Eckel, James Ward
James Ward´s friend Tony in Japan created a pretty cool Flex app that does text diffs. Very cool and nice use of vectors! Thanks Tony!Tuesday, May 15, 2007
Extract CSV file format in Oracle SQL
How to extract CSV file format data in Oracle SQL Plus.
---10G Solution. On SQL Plus session
alter session set nls_date_format='YYYY-MM-DD';
Session altered.
select regexp_replace(column_value,' *<[^>]*>[^>]*>’,';’)
from table(xmlsequence(cursor(select * from emp)));
=======================
-- Oracle 9i Solution. SQL Plus session.
-- Following sql fail to give EMPTY space for NULL values properly.
-- See PL/SQL solution to handle
SELECT XMLTRANSFORM
(COLUMN_VALUE,
XMLTYPE
('
'
)
) csv
FROM TABLE (XMLSEQUENCE (CURSOR (SELECT *
FROM emp)))
/
=======================================
---- Oracle 9i PL/SQL solution
SQL> VAR cur refcursor
SQL> DECLARE
ctx DBMS_XMLGEN.ctxhandle;
BEGIN
ctx := DBMS_XMLGEN.newcontext ('select * from emp');
DBMS_XMLGEN.setnullhandling (ctx, DBMS_XMLGEN.empty_tag);
OPEN :cur FOR
SELECT (SELECT RTRIM(XMLAGG (XMLELEMENT (c,VALUE (t2),',').EXTRACT('//text()')),',')
FROM TABLE (XMLSEQUENCE (VALUE (t1).EXTRACT ('ROW/*'))) t2) csv
FROM TABLE(XMLSEQUENCE(DBMS_XMLGEN.getxmltype (ctx).EXTRACT('ROWSET/ROW'))) t1;
DBMS_XMLGEN.closecontext(ctx);
END;
/
PL/SQL procedure successfully completed.
SQL> PRINT cur
==================================
---10G Solution. On SQL Plus session
alter session set nls_date_format='YYYY-MM-DD';
Session altered.
select regexp_replace(column_value,' *<[^>]*>[^>]*>’,';’)
from table(xmlsequence(cursor(select * from emp)));
=======================
-- Oracle 9i Solution. SQL Plus session.
-- Following sql fail to give EMPTY space for NULL values properly.
-- See PL/SQL solution to handle
SELECT XMLTRANSFORM
(COLUMN_VALUE,
XMLTYPE
('
)
) csv
FROM TABLE (XMLSEQUENCE (CURSOR (SELECT *
FROM emp)))
/
==============================
---- Oracle 9i PL/SQL solution
SQL> VAR cur refcursor
SQL> DECLARE
ctx DBMS_XMLGEN.ctxhandle;
BEGIN
ctx := DBMS_XMLGEN.newcontext ('select * from emp');
DBMS_XMLGEN.setnullhandling (ctx, DBMS_XMLGEN.empty_tag);
OPEN :cur FOR
SELECT (SELECT RTRIM(XMLAGG (XMLELEMENT (c,VALUE (t2),',').EXTRACT('//text()'))
FROM TABLE (XMLSEQUENCE (VALUE (t1).EXTRACT ('ROW/*'))) t2) csv
FROM TABLE(XMLSEQUENCE(DBMS_XMLGEN
DBMS_XMLGEN.closecontext(ctx);
END;
/
PL/SQL procedure successfully completed.
SQL> PRINT cur
==============================
New Articles to Read - Java
XML Parser Benchmarks: Part 1
JavaOne 2007, #2: Making Web Apps Easy
Summary
Today, JavaOne 2007 showcased a complete open source technology stack that lets you develop and deploy web applications quickly and easily, including JRuby, Rails, NetBeans, and Glassfish
JavaOne 2007, #2: Making Web Apps Easy
Summary
Today, JavaOne 2007 showcased a complete open source technology stack that lets you develop and deploy web applications quickly and easily, including JRuby, Rails, NetBeans, and Glassfish
Integrating Struts With Spring
Hibernate Interceptors - An Introduction
New Articles to Read - Java
XML Parser Benchmarks: Part 1
JavaOne 2007, #2: Making Web Apps Easy
Summary
Today, JavaOne 2007 showcased a complete open source technology stack that lets you develop and deploy web applications quickly and easily, including JRuby, Rails, NetBeans, and Glassfish
JavaOne 2007, #2: Making Web Apps Easy
Summary
Today, JavaOne 2007 showcased a complete open source technology stack that lets you develop and deploy web applications quickly and easily, including JRuby, Rails, NetBeans, and Glassfish
Integrating Struts With Spring
Hibernate Interceptors - An Introduction
Sunday, May 13, 2007
Build an Online Reporting Application Using Oracle XML Publisher
Build an Online Reporting Application Using Oracle XML Publisher
by Mark Rittman
Learn how to create an online reporting environment using XML Publisher technology, step by step.
Build an Online Reporting Application Using Oracle XML Publisher
Build an Online Reporting Application Using Oracle XML Publisher
by Mark Rittman
Learn how to create an online reporting environment using XML Publisher technology, step by step.
Sunday, May 06, 2007
A Primer on Spring's Data Access Object (DAO) Framework
A Primer on Spring's Data Access Object (DAO) Framework by Dhrubojyoti Kayal -- This article introduces the Spring Data Access Object (DAO) framework. After examining the architectural needs for DAO, it describes the DAO pattern in general and how Spring simplifies the implementation.
Thursday, May 03, 2007
Collection of JVM Options
I found link about Collection of JVM options compiled by Joseph D. Mocker (Sun Microsystems, Inc.)
Apache Axis2 - Nice Technical Articles
Today, I was looking at Jroller.com and found nice entry posted by Glen Mazza. Mazza posted Axis2 - Technical Articles. It is very good collection of articles about Apache Axis2. From his posting, I was directed to ws02.org site. This where I finally read Axis2 technical articles.
WSO2.org is Oxygen for Web Service Developers. It has got very nice detail articles and tutorials for Web Services projects related to Apache Open Source.
Thanks to Glen Mazza for his posting.
WSO2.org is Oxygen for Web Service Developers. It has got very nice detail articles and tutorials for Web Services projects related to Apache Open Source.
Thanks to Glen Mazza for his posting.
Monday, April 23, 2007
Spring Framework - Two Articles on Form Validation with DWR and AJAX
Spring Framework - Two Articles on Form Validation with DWR and AJAX
Submitted by Colin Sampaleanu on Thu, 2007-04-19 23:09. Technical Article
Using AJAX (via DWR) to perform client-side validation is a useful technique that allows the implementation of both client side and server side form validation, while actually using the same (server-side) validators for both task. Here are a couple of articles that describe this technique.
Generic Validator for Spring MVC and DWR by Jose Noheda, shows one approach. His validators work off annotations in the objects to be validated (this is somewhat orthogonal to the question of validating remotely).
ForwardSourceID:NT00009002
Submitted by Colin Sampaleanu on Thu, 2007-04-19 23:09. Technical Article
Using AJAX (via DWR) to perform client-side validation is a useful technique that allows the implementation of both client side and server side form validation, while actually using the same (server-side) validators for both task. Here are a couple of articles that describe this technique.
Generic Validator for Spring MVC and DWR by Jose Noheda, shows one approach. His validators work off annotations in the objects to be validated (this is somewhat orthogonal to the question of validating remotely).
ForwardSourceID:NT00009002
Incremental Compilation and Error Handling in XMLBeans
Incremental Compilation and Error Handling in XMLBeans by Hetal Shah -- Hetal Shah shows how to ease the maintenance of XMLBeans-based applications by using incremental compilation of schemas and custom error handling facilities.
NT00008FFE
How to configure XML Bean
Configuring XMLBeans by Hetal Shah -- One of the most powerful features of XMLBeans Version 1.03 is the ability to customize its code generation through a configuration file. Configuration features of XMLBeans bring a number of benefits in terms of flexibility, reusability, simplified code, and XMLBeans"s readiness for enterprise environments.
Monday, April 16, 2007
Nice Oracle Analytic Article
Today, I found the following article by Jonathan Lewis was very nice and
interesting. The article is about Analytic functions, and is one that
Jonathan first published in the UKOUG journal earlier on last year.
This article published in Select (the journal of the IOUG) has won the
"SELECT Editors' Choice" award.There's going to be a presentation of
awards at Collaborate '07, which starts this week.
interesting. The article is about Analytic functions, and is one that
Jonathan first published in the UKOUG journal earlier on last year.
This article published in Select (the journal of the IOUG) has won the
"SELECT Editors' Choice" award.There's going to be a presentation of
awards at Collaborate '07, which starts this week.
Sunday, April 08, 2007
Single Sign On between WebLogic Server 9.2 and IIS
Single Sign On between WebLogic Server 9.2 and IIS using SAML by Alex Rykov -- Single sign on (SSO) is becoming increasingly important in enterprise environments. This tutorial by Alex Rykov describes a simple SAML SSO scenario between Microsoft Internet Information Services Server (IIS) and BEA WebLogic Server 9
Tuesday, April 03, 2007
Oracle 9i - How to add missing partitions
Assume, We need to insert missing partition as new partition with Oracle Range Partition.
Here is the simple example for that.
create table karth_test (a date,data char(10))
partition by range(a)
( partition p1 values less than (to_date('2007-01-01','YYYY-MM-DD')),
partition p2 values less than (to_date('2007-02-01','YYYY-MM-DD')),
partition p4 values less than (to_date('2007-04-01','YYYY-MM-DD'))
)
select partition_name pname, high_value from user_tab_partitions
where table_name ='KARTH_TEST' order by partition_name
alter table KARTH_TEST add partition p3 values less than (TO_DATE('2007-03-01','YYYY-MM-DD'))
-- Above statement raises ORA-14074: partition bound must collate higher than that of the last partition.
-- We can execute following statement to overcome above error
Alter table KARTH_TEST split partition p4 at (TO_DATE('2007-03-01','YYYY-MM-DD'))
into (partition p3, partition p4)
Drop table KARTH_TEST
Here is the simple example for that.
create table karth_test (a date,data char(10))
partition by range(a)
( partition p1 values less than (to_date('2007-01-01','YYYY-MM-DD')),
partition p2 values less than (to_date('2007-02-01','YYYY-MM-DD')),
partition p4 values less than (to_date('2007-04-01','YYYY-MM-DD'))
)
select partition_name pname, high_value from user_tab_partitions
where table_name ='KARTH_TEST' order by partition_name
alter table KARTH_TEST add partition p3 values less than (TO_DATE('2007-03-01','YYYY-MM-DD'))
-- Above statement raises ORA-14074: partition bound must collate higher than that of the last partition.
-- We can execute following statement to overcome above error
Alter table KARTH_TEST split partition p4 at (TO_DATE('2007-03-01','YYYY-MM-DD'))
into (partition p3, partition p4)
Drop table KARTH_TEST
Friday, March 30, 2007
Exploring the WebLogic Integration 8.1 RDBMS Event Generator
Nice DEV2DEV article. It is well explained in simple terms.
Exploring the WebLogic Integeration 8.1 RDBMS Event Generator
by Mahadevan Krishnan. Learn about an approach to integerating databases with enterprise applications through the use of WebLogic Integeration Event Generators.
Exploring the WebLogic Integeration 8.1 RDBMS Event Generator
by Mahadevan Krishnan. Learn about an approach to integerating databases with enterprise applications through the use of WebLogic Integeration Event Generators.
Wednesday, February 14, 2007
Introduction to OpenTerracotta - From InfoQ
Orion Letizi posted nice article in www.infoq.com
Java applications are easiest to write and test when they run in a single JVM. However, the requirements to make applications scalable and highly available have forced Java applications to run on more than one JVM. In this article, we introduce OpenTerracotta, an enterprise-class, open-source JVM-level clustering solution. Read more
Java applications are easiest to write and test when they run in a single JVM. However, the requirements to make applications scalable and highly available have forced Java applications to run on more than one JVM. In this article, we introduce OpenTerracotta, an enterprise-class, open-source JVM-level clustering solution. Read more
Tuesday, February 13, 2007
Monday, January 29, 2007
Dynamic DataSource Routing - Spring 2.0.1
Spring 2.0.1 introduced an AbstractRoutingDataSource. I believe that it deserves attention, since (based on frequent questions from clients) I have a hunch that there are quite a few 'home-grown' solutions to this problem floating around. Mark Fisher posted nice entry about this topic in his blog. Read More.
Pojos In Action - Sample Chapter
POJOs in Action by Chris Richardson -- In this book excerpt from POJOs in Action, Chris Richardson explores the benefits and drawbacks of using the Transaction Script pattern and describes how to implement this pattern using POJOs and the Spring framework
Thursday, January 18, 2007
Hibernate Mapping XML to Oracle XMLTYPE
Oracle XMLTYPE attribute type can be mapped to a W3C Document type representation. Hibernate's UserType mechanism allows to create vendor specific data types. There are certain points to consider when mapping an object to an Oracle XMLType.
Please read more.
Please read more.
Want to try Spring Web Flow ?
SpringFramework announced that Spring Web Flow 1.0.1 was released.
What is Spring WebFlow?
Spring Web Flow is a next generation Java web application controller framework that allows developers to model user actions as high-level modules called flows. The framework delivers improved productivity and testability while providing a strong solution to enforcing navigation rules and managing application state.
Getting Started
The best way to get started with Spring Web Flow is to download the release, read Erwin's practical introduction, and walk through the sample applications. We recommend reviewing all samples, starting with Phonebook, supplementing with reference manual material as needed. Ten sample applications ship with the release, each demonstrating a distinct set of product features.
What is Spring WebFlow?
Spring Web Flow is a next generation Java web application controller framework that allows developers to model user actions as high-level modules called flows. The framework delivers improved productivity and testability while providing a strong solution to enforcing navigation rules and managing application state.
Getting Started
The best way to get started with Spring Web Flow is to download the release, read Erwin's practical introduction, and walk through the sample applications. We recommend reviewing all samples, starting with Phonebook, supplementing with reference manual material as needed. Ten sample applications ship with the release, each demonstrating a distinct set of product features.
Spring 2.0 Features - Introduction (Part 1)
Spring 2.0: What's New and Why it Matters is an infoQ article by Rod Johnson, the first of two part. This in-depth piece is well worth reading for anybody wishing to understand the evolution of Spring 2.0 as it introduces significant new features, and how these combine to provide the simplicity and power that is the central theme of this release.
Tuesday, January 09, 2007
ZK - Ajax but no JavaScipt
ZK is an open-source Ajax Web framework that enables rich user interface for Web applications with no JavaScript and little programming.
It has got support for Spring. See the following links for HOW-TO guide.
Contact List with ZK and Spring - Contact List Project with MySql, Spring and ZK.
ZK with Spring DAO and JDBC - How to setup ZK, Spring DAO and JDBC.
It has got support for Spring. See the following links for HOW-TO guide.
Contact List with ZK and Spring - Contact List Project with MySql, Spring and ZK.
ZK with Spring DAO and JDBC - How to setup ZK, Spring DAO and JDBC.
Configuring Single Sign-On using SAML in WebLogic Server 9.2
Configuring Single Sign-On using SAML in WebLogic Server 9.2 by Vikrant Sawant -- In this tutorial Vikrant Sawant shows how to configure SAML on your WebLogic Server domains to enable single sign-on across all deployed Web applications.
Subscribe to:
Posts (Atom)