Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Suggest best option for NLP features into Oracle ADF application

vijay dasariAug 5 2025

Studio Edition Version 12.2.1.4.0

I'm trying to integrate Stanford CoreNLP (specifically the 400MB+ stanford-corenlp-4.5.4-models.jar) into an Oracle ADF application, but facing deployment challenges due to the JAR size. The main issues are:

  1. EAR file size becomes unmanageable (>500MB)
  2. Slow deployment to WebLogic servers
  3. Memory constraints during application startup

Current Approach:

  • Using CoreNLP for text processing in managed beans
  • Basic POS tagging and tokenization requirements
  • Facing "JVM memory issues (sometimes)" when models aren't found

Specific Questions:

  1. What's the recommended way to handle large external JARs in ADF?
  2. Are there patterns for lazy-loading resource-intensive libraries?
  3. How to properly reference external model files from ADF applications?
  4. Has anyone successfully integrated Stanford NLP with ADF?
Comments
Post Details
Added on Aug 5 2025
4 comments
90 views