How mateocarballo/entregable-ad-4 works
• Application Entry Point – Show Main.java as the starting point.
• Database Connection Layer – Include separate components for:
• BaseX Connection (represented by ConexionBaseX.java and the BaseX drivers in the libs folder)
• MongoDB Connection (represented by ConexionMongo.java and the mongo-java-driver in the libs folder)
• Utility Components – Represent utility classes like StringResources.java to illustrate support services.
• Database Setup Scripts – Although not part of runtime, include the creacion_dbs scripts (basex.xml and mongodb.js) to emphasize the deployment and configuration layers.
• That ConexionBaseX.java sends queries (or commands) to the BaseX server (configured using basex.xml) and that ConexionMongo.java links to the MongoDB server (populated via mongodb.js).
• That the business logic (possibly within Main.java or within future service layers not explicitly shown at this stage) interacts with the Model classes representing entities, which in turn may trigger operations on one or both databases.
Embrace Architectural Patterns and Design Principles
• Layered Architecture – Clearly separate the presentation/interaction layer (console menu system), the business logic, and the data access layers.