Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Sumario 06_JAVA_MARKET

Rating
-
Sold
1
Pages
11
Uploaded on
18-01-2026
Written in
2025/2026

06_JAVA_MARKET (06_JAVA_MARKET)

Institution
Course

Content preview

🏗️ EJERCICIO 6 — JAVA-MARKET

Arquitectura Profesional en Java (Inventario + Ventas)


Rol activo: Arquitecto de Software Java.
Esto ya no es “hacer ejercicios”: es diseñar un sistema coherente, extensible y seguro.

🎯 Objetivo académico:
Que este proyecto pueda defenderse como Proyecto Final de 1º (Ingeniería / DAM
/ DAW) con nota alta.




🧩 ARQUITECTURA UML (ASCII)

┌──────────────────────┐
│Vendible (interface) │
├──────────────────────┤
│ + calcularPrecioVenta():double
│ + getID():String |
└──────────▲───────────┘
│ implements
┌──────────┴───────────┐
│ Producto (abstract)│
├──────────────────────┤
│ # id : String │
│ # nombre : String │
│ # precioBase : double│
├──────────────────────┤
│ + getID() │
│ + getNombre() │
│ + getPrecioBase() │
│ + calcularPrecioVenta() (abs)
└──────────▲───────────┘

┌─────────────┴─────────────┐
│ │
┌────────────────────┐ ┌────────────────────┐

, │ Electronica │ │ Alimentacion │
├────────────────────┤ ├────────────────────┤
│ + impuesto 20% │ │ -diasCaducidad:int │
├────────────────────┤ ├────────────────────┤
│ + calcularPrecio() │ │ + calcularPrecio() │
└────────────────────┘ └────────────────────┘




┌────────────────────────────────────┐
│ GestorInventario │
├────────────────────────────────────┤
│ - stock : HashMap<String,Producto> │
├────────────────────────────────────┤
│ + agregarProducto(p) │
│ + eliminarProducto(id) │
│ + venderProducto(id) throws Exc │
│ + listar() │
│ + cargarCSV() │
│ + guardarCSV() │
└────────────────────────────────────┘




🧠 DECISIONES DE ARQUITECTO

✅ ¿Por qué Interface Vendible ?


Porque separa qué se puede vender de cómo es el producto.

Mañana puedes vender:

servicios,
suscripciones,
packs…

sin tocar el sistema base.

👉 Es polimorfismo real de negocio.

Written for

Course

Document information

Uploaded on
January 18, 2026
Number of pages
11
Written in
2025/2026
Type
SUMMARY

Subjects

$4.09
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
jesús6

Also available in package deal

Get to know the seller

Seller avatar
jesús6 Universidad Nacional de Educación a Distancia
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
6 months
Number of followers
0
Documents
17
Last sold
5 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions