⌂ PortalMigrationshandbuch
Gesamtübersicht

Migrationsmatrix

Einheitliche Sicht auf Zielbild, Risiko und Testschwerpunkt aller Module.

ModulKategorieStufeRisikoTechnischer ÜbergangHauptrisikoTestschwerpunkt
01 · Dependency InjectionEnterprise1NIEDRIGService Locator / manuelle Verdrahtung → Spring Constructor Injectionhidden dependencies, global stateconstructor-level unit tests and context smoke test
02 · AOPEnterprise3NIEDRIGJDK Dynamic Proxy → Spring AOP mit @Aspectproxy limitations and cross-cutting couplingaspect activation, exception and ordering tests
03 · RESTIntegration3NIEDRIGJAX-RS 2.1 mit javax.ws.rs → Spring Boot REST mit jakarta.validationHTTP contract drift and validation gapsstatus codes, validation, error payload and actuator exposure
04 · PersistenzDaten4NIEDRIGJDBC und DAO → Spring Data JPAschema drift, lazy loading and transaction boundariesrepository slice, service transaction and rollback tests
05 · TransaktionenDaten4NIEDRIGmanuelles Commit/Rollback → @Transactionalpartial writes and incorrect rollback rulessuccess, checked/unchecked failure and rollback assertions
06 · BatchIntegration5MITTELmanueller CSV-Ablauf → Spring Batch Pipelinerestartability, duplicate processing and bad-record policyjob launch, restart, skip/retry and idempotency tests
07 · MessagingIntegration5MITTELjavax.jms und ActiveMQ Classic → Spring JMS mit jakarta.jmsduplicate delivery, poison messages and vulnerable legacy brokerredelivery, idempotency, DLQ and serialization tests
08 · XML und JAXBXML3NIEDRIGjavax.xml.bind → jakarta.xml.bindnamespace and schema compatibilityround-trip, invalid XML, encoding and XXE-negative tests
09 · Servlet und WebWeb3NIEDRIGjavax.servlet → Spring MVC auf jakarta.servletcontainer/API migration and endpoint compatibilityweb slice, content type, health and malformed request tests
10 · SOAPIntegration3MITTELjavax JAX-WS → Jakarta XML Web ServicesWSDL/namespace compatibility and fault mappingcontract, SOAP fault and interoperability tests
11 · Java-GrundlagenJava Core2NIEDRIGmutable JavaBean und Hilfsklassen → Records, Pattern Matching und Value Objectsserialization/equality behavior changesequals/hashCode, validation and immutability tests
12 · CollectionsJava Core2NIEDRIGVector, Hashtable und Enumeration → generische Collections und unveränderliche Sichtenmutation leaks and ordering semanticsaliasing, null, duplicates and ordering tests
13 · GenericsJava Core2NIEDRIGRaw Types und Casts → typsichere generische Repositorysruntime ClassCastException versus compile-time safetygeneric boundaries, absent values and repository identity tests
14 · Annotations und ReflectionJava Core2NIEDRIGNamenskonventionen und Reflection-Strings → Annotation-gesteuertes Command Registryillegal access, duplicate commands and startup failuresduplicate annotation, missing method and invocation failure tests
15 · Lambda und StreamsJava Core2NIEDRIGimperative Schleifen und anonyme Klassen → Stream Pipeline mit Records und Collectorsordering, short-circuit and null semanticsempty input, duplicates, precision and parallel-safety tests
16 · ConcurrencyJava Core2NIEDRIGplattformgebundener Thread Pool → Virtual Threads und sichere Aggregationrace conditions, leaks and nondeterministic teststimeouts, cancellation, interruption and repeated stress tests
17 · Java I/O und NIOJava Core2NIEDRIGFile und manuelles Ressourcenmanagement → Path, Files und Try-with-resourcesresource handling, overwrite and atomicitypermissions, missing files, overwrite and large-file tests
18 · Exception Handling und LoggingJava Core1NIEDRIGCatch-all, null und System.err → Domain Exceptions und System.Loggerlost root cause and unstable error contractscause preservation, log context and negative-path tests
19 · JUnit und TestdesignTesting1NIEDRIGJUnit 4 und einzelne Beispielwerte → JUnit 5 Parameterized Teststest lifecycle and assertion migrationparameter boundaries, lifecycle and failure-message tests
20 · HTTP-Client und WebtestTesting2NIEDRIGHttpURLConnection → Java HttpClient mit Transport-Porttimeouts, redirects and encodingtimeout, non-2xx, headers, redirect and body-size tests
21 · Maven Properties und KonfigurationBuild1NIEDRIGString-Properties und Build-Filterung → typisierte Konfiguration mit Validierungmissing keys, precedence and environment driftdefault, override, malformed and encoding tests
22 · Spring JDBCDaten4NIEDRIGStatement, ResultSet und manuelles Mapping → JdbcClient und RowMapperSQL mapping, transaction and resource handlingrow mapping, empty result, duplicate key and rollback tests
23 · Hibernate und JPADaten4NIEDRIGproprietäres Hibernate Session API → Jakarta Persistence und Spring Data Repositoryentity lifecycle, schema and query differencesentity mapping, repository query, transaction and N+1 checks
24 · MongoDBDaten4NIEDRIGMongoDB Document und manueller Mapper → Spring Data MongoDB Document/Repositorydocument shape and mapping compatibilitymapping, missing fields, query and index assumptions
25 · JNDI und Service-AuflösungEnterprise5NIEDRIGInitialContext und Service Locator → Constructor Injection und explizite Portsruntime lookup failure and hidden dependencybinding failure, constructor contract and context startup
26 · JMX und MonitoringObservability5NIEDRIGStandard MBean und direkte Registrierung → Actuator und Micrometer Countermetric/endpoint naming and exposureendpoint exposure, health detail and unauthorized access tests
27 · EJB und ServicesEnterprise5NIEDRIGEJB-2-artige Home/Remote-Schnittstellen → Spring Service und REST Facadetransaction/security semantics and remote contract driftservice contract, web adapter and transaction tests
28 · JPMS / JigsawModularisierung5MITTELClasspath und globale Sichtbarkeit → module-info, exports und Service Providersplit packages, exports and readabilitymodule-path compile, forbidden access and service-loading tests
29 · Service Registry und ServiceLoaderModularisierung5NIEDRIGdynamische Service Registry → Java SPI mit ServiceLoaderprovider discovery, ordering and duplicatesno provider, multiple provider and packaging tests
30 · XML ParserXML3NIEDRIGDOM lädt vollständigen Objektbaum → StAX verarbeitet Streaming-EventsXXE, entity expansion and malformed XMLXXE-negative, namespace, large input and error-position tests
31 · XSLTXML3NIEDRIGTransformer pro Aufruf mit Defaults → vorkompilierte Templates mit Secure Processingexternal access, thread safety and cache invalidationexternal resource denial, concurrency and invalid stylesheet tests
32 · KryptografieSecurity5NIEDRIGdeterministische AES-ECB-Demo → AES-GCM mit PBKDF2, Salt und IVconfidentiality/integrity failure and nonce misusetamper, wrong key, nonce uniqueness and empty payload tests
33 · SMTP und MailIntegration3NIEDRIGjavax.mail MimeMessage → Jakarta Mail und Mail Gatewayheader injection, transport errors and charset driftrecipient validation, Unicode, transport failure and header tests
34 · Patterns und RefactoringArchitecture1NIEDRIGSwitch-basierte Preislogik → Strategy, Factory und Value Objectsbranch growth and unsupported customer typesall strategies, factory completeness and unknown type tests
⌂ Cockpit