Using Java stored procedures is one of the options that you can leverage to process XML inside Oracle Database 10g. It should serve as complimentary functionality to the native XML DB functionality and provide additional development and deployment options when you are optimizing the performance of your XML-enabled applications.