Pro Jakarta EE 10: open source enterprise Java-based cloud-native applications development
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
New York
Apress
2023
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | 492 Seiten Illustrationen, Diagramme 26 cm |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV049086251 | ||
003 | DE-604 | ||
005 | 20230817 | ||
007 | t | ||
008 | 230802s2023 a||| |||| 00||| eng d | ||
015 | |a GBC375361 |2 dnb | ||
020 | |z 9781484282137 |9 978-1-48428-213-7 | ||
020 | |z 1484282132 |9 1-48428-213-2 | ||
035 | |a (OCoLC)1401187321 | ||
035 | |a (DE-599)BVBBV049086251 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-739 | ||
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
100 | 1 | |a Späth, Peter |e Verfasser |0 (DE-588)1159794553 |4 aut | |
245 | 1 | 0 | |a Pro Jakarta EE 10 |b open source enterprise Java-based cloud-native applications development |c Peter Späth |
264 | 1 | |a New York |b Apress |c 2023 | |
300 | |a 492 Seiten |b Illustrationen, Diagramme |c 26 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Application software / Development | |
650 | 4 | |a Cloud computing / Design | |
650 | 4 | |a Java (Computer program language) | |
650 | 7 | |a Application software / Development |2 fast | |
650 | 7 | |a Java (Computer program language) |2 fast | |
650 | 0 | 7 | |a Softwareentwicklung |0 (DE-588)4116522-6 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Jakarta EE 10 |0 (DE-588)1262245087 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Jakarta EE 10 |0 (DE-588)1262245087 |D s |
689 | 0 | 1 | |a Softwareentwicklung |0 (DE-588)4116522-6 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=034348080&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-034348080 |
Datensatz im Suchindex
_version_ | 1804185419250663424 |
---|---|
adam_text | Table of Contents About the Author.................................... About the Technical Reviewer............................. Introduction................................. .....xv xvii xix Part I: Development Workflow Proposal..................................................................... 1 Chapter 1: Installing a Development Server...................................... 3 Installing and Running Under Linux................................................................................................ 4 Installing and Running Under Windows.......................................................................................... 5 GlassFish Application Debugging.................................................................................................... 6 Elaborated GlassFish Operation Instructions..................................................................................6 Chapter 2: Creating and Building Projects with Eclipse............... ................................. 7 Installing Eclipse..............................................................................................................................7 Configuring Eclipse......................................................................................................................... 9 Adding Java Runtimes.................................................................................................................. 10 Adding Plugins...............................................................................................................................10 Using Eclipse to
Administer a Jakarta EE Server..........................................................................11 Eclipse Everyday Usage................................................................................................................ 19 Changing the Project Layout......................................................................................................... 20 Chapter 3: Development with NetBeans as an IDE................ ....................... 23 Installing NetBeans....................................................................................................................... 23 Starting a NetBeans Project.......................................................................................................... 24 Multi-IDE Projects......................................................................................................................... 25 v
TABLE OF CONTENTS Chapter 4: Git and Subversion.......................................... 27 The Subversion Version Control System....................................................................................... 27 Subversion Clients......................................................................................................................... 32 The Git Version Control System......................................................................................................36 Git Clients....................................................................................................................................... 39 Chapter 5: Continuous Integration............................................................ 43 The Jenkins Cl Server.................................................................................................................... 43 Starting a Jenkins Project.............................................................................................................. 44 Build Triggers................................................................................................................................. 46 Creating Real-World Builds............................................................................................................49 Triggering Builds from Git.................................................................................................... 53 Triggering Builds from Subversion................................................................................................ 55 Analyzing Jenkins Builds
via REST............................................................................................... 56 Chapter 6: Corporate Maven Repositories...... .............. 61 The Maven Repository Layout....................................................................................................... 63 A Simple Server to Provide Mavenized Artifacts........................................................................... 64 The Marvin EAR Root Project................................................................................................... 65 The Marvin Web Project............................................................................................................69 The Marvin EJB Project............................................................................................................70 Laying Out the Projects Again.................................................................................................. 71 The Web Project Code...............................................................................................................72 The EJB Project Code............................................................................................................... 75 Building and Deploying the EAR.............................................................................................. 79 Using the Corporate Repository............................................................................................... 79 A Sample Java
Library.............................................................................................................. 80 Building and Uploading Company Libraries.................................................................................. 82 Part II: Advanced Web Tier Topics...................................................................... .......87 Chapter 7: Facelets......... ............ 89 Faces Templating via Facelets.......................................................................................................89 Installing Facelets.......................................................................................................................... 90 vi
TABLE OF CONTENTS Facelets Tags Overview................................................................................................................ 91 The ui:include Tag............................................................................................................... 91 First Variation of the ui:composition Tag............................................................................91 Second Variation of the ui:composition Tag........................................................................91 The ui:insert Tag................................................................................................................. 92 The ui:define Tag................................................................................................................ 93 The ui:param Tag................................................................................................................ 93 The ui:component Tag........................................................................................................ 93 The ui:decorate Tag............................................................................................................ 94 The ui:fragment Tag............................................................................................................ 95 The ui:repeat Tag................................................................................................................ 96 The ui:debug Tag................................................................................................................ 97 An Example Facelets
Project......................................................................................................... 98 Chapter 8: Faces Custom Components............................ ...111 Custom Tag Libraries.................................................................................................................. 111 Composite Components.............................................................................................................. 114 Custom Components in Java....................................................................................................... 117 Chapter 9: Flows................................................................................ .....119 The Flow Process.........................................................................................................................119 Basic Flow Setup.........................................................................................................................120 Overriding Conventions............................................................................................................... 123 Specifying a Different Flow Start Page.................................................................................. 124 Specifying a Different Return Page....................................................................................... 124 Programmatic Configuration....................................................................................................... 125 Handling Flow
Outcome.............................................................................................................. 127 Passing Data Between Flows...................................................................................................... 127 Chapter 10: Websockets........................................................... 131 Websockets on the Server Side.................................................................................................. 131 Websockets on the Client Side.................................................................................................... 135 vii
TABLE OF CONTENTS Chapter 11: Frontend Technologies.......................... 137 No Third-Party Frontend Technology........................................................................................... 138 Play 2........................................................................................................................................... 139 React.............................................................................................................................................139 Angular 2...................................................................................................................................... 141 Spring Boot.................................................................................................................................. 142 Vue................................................................................................................................................142 Spring MVC.................................................................................................................................. 143 Ember........................................................................................................................................... 144 Act. Framework............................................................................................................................. 145 Apache Struts 2............................................................................................................................ 145
GWT.............................................................................................................................................. 146 Vaadin.......................................................................................................................................... 147 DataTables................................................................................................................................... 147 D3js.............................................................................................................................................. 148 Chapter 12: Form-Based Authentication........................ 149 Enabling Security on the Sever................................................................................................... 149 Form-Based Authentication for Faces......................................................................................... 151 Security Role Mapping................................................................................................................. 154 Form-Based Authentication XHTML Code................................................................................... 155 Chapter 13: Client Certificates.......................... 159 Preparing Scripting...................................................................................................................... 159 Generating Client Certificates......................................................................................................160 Storing the Client Certificate in the
Browser.............................................................................. 163 Storing the Client Certificate on the Server................................................................................ 164 Client Certificate Web Applications............................................................................................. 166 Additional GlassFish Configuration............................................................................................. 168 Client Certificate Example............................................................................................................ 169 viii
TABLE OF CONTENTS Chapter 14: REST Security................................................................................................ 175 Security Constraints for REST URLs................................................................................................ 176 About JSON Web Tokens.................................................................................................................. 176 Preparing GlassFish......................................................................................................................... 178 The JWT Login Process, Client Code............................................................................................... 178 Server Code...................................................................................................................................... 184 The JWT Login Process, Server Code............................................................................................ 185 Sending JWTs Back to the Server................................................................................................... 190 Handling JWTs in REST Endpoints.................................................................................................. 191 Chapter 15: JAVA MVC....................................................................................................... 195 About MVC......................................................................................................................................... 195 Installing Java
MVC................................................................................................. 196 Configuration Files........................................................................................................................... 198 Static Files........................................................................................................................................ 203 Model Classes...................................................................................................................................203 Controller Classes............................................................................................................................ 206 Messages.......................................................................................................................................... 212 View Pages........................................................................................................................................ 214 Running the Pet Shop Application................................................................................................... 223 Part III: Advanced Architecture Related Topics........... ................. 225 Chapter 16: Microprofiles................ ............................................ 227 Starting a MicroProfile Sample Project.......................................................................................... 229 Installing a MicroProfile Server....................................................................................................... 231 Changing the
Application to a Microservice................................................................................... 231 Deploying and Running the Microservice...................................................................................... 234 Chapter 17: Custom CDI..... ............................................................. 241 CDI Specification.............................................................................................................................. 241 Building Object Graphs.................................................................................................................... 242 Qualifiers........................................................................................................................................... 246 ix L
TABLE OF CONTENTS Alternatives.................................................................................................................................. 249 Producers..................................................................................................................................... 251 Scope........................................................................................................................................... 253 Interceptors.................................................................................................................................. 255 Decorators.................................................................................................................................... 255 Chapter 18: Interceptors.................................................................................................... 257 GDI Interceptors........................................................................................................................... 257 JPA Lifecycle Listeners................................................................................................................ 261 Servlet Listeners.......................................................................................................................... 263 Faces Phase Listeners................................................................................................................. 264 Chapter 19: Bean Validation......................... 267 Where to Use Bean
Validation......................................................................................................268 How to Add Constraints................................................................................................................ 269 Built-in Constraints...................................................................................................................... 269 Custom Constraints...................................................................................................................... 272 Bean Validation Exceptions..........................................................................................................274 Chapter 20: Jakarta EE Concurrency............................................................ 277 Preparing the Jakarta EE Server................................................................................................. 277 Using a ManagedExecutorService.............................................................................................. 278 Using a ManagedScheduledExecutorService.............................................................................. 280 Using the ManagedThreadFactory.............................................................................................. 283 Enterprise Concurrency and Transactions................................................................................... 284 Chapter 21 : Batch Processing......................................................................................... 285 Batch Processing
Concepts.........................................................................................................285 Preparing the Server for Batch Processing................................................................................. 286 An Employee Attendance Example Batch Processing.................................................................287 Starting a Batch Processing EAR Project.................................................................................... 288 Example Data Preparation...........................................................................................................293 Job Definition File........................................................................................................................ 293 x
TABLE OF CONTENTS Batch Processing Scheduling..................................................................................................... 295 Batch Processing Java Artifacts.................................................................................................. 296 Building and Deploying the Application...................................................................................... 303 Part IV: Useful Supporting Technologies........... .............. 305 Chapter 22: XML Binding.................................................................................................. 307 Why JAXB Is So Complicated...................................................................................................... 307 Writing a Java Object Tree as XML.............................................................................................. 309 Adding a Schema........................................................................................................................ 313 Transforming from XML to Java.................................................................................................. 316 Generating Java Classes from Schemas..................................................................................... 317 Chapter 23: JSON Handling..............................................................................................319 JSON Documents........................................................................................................................ 319 JSON with REST
Services........................................................................................................... 320 Generating JSON......................................................................................................................... 323 Parsing JSON.............................................................................................................................. 324 Binding JSON to Java Objects..................................................................................................... 325 Chapter 24: Jakarta Mail.................................................................................................. 331 Installing Jakarta Mail................................................................................................................. 331 Generating and Sending Emails.................................................................................................. 331 Chapter 25: Application Client (Groovy)..... ...................................... 335 Providing an Enterprise Application............................................................................................ 335 Building an Application Client..................................................................................................... 337 Running a GroovyConsole Application Client............................................................................. 338 Chapter 26: Adding Scripting Languages........................... 341 Installing Scripting
Engines........................................................................................................ 341 Using Scripting in Java............................................................................................................... 342 xi
TABLE OF CONTENTS Part V: Advanced Resource Related Topics............................................ 345 Chapter 27: Hibernate as ORM........................................................................................ 347 Installing Hibernate...................................................................................................................... 347 Adapting the Persistence Configuration...................................................................................... 348 Fetching the Hibernate Session.................................................................................................. 349 Chapter 28: Connectors.................................................................................. 351 Coding a Resource Adapter......................................................................................................... 351 í Packaging and Deploying a Resource Adapter.......................................................................... 366 ^ Deployment Descriptors............................................................................................................... 369 Resource Adapter Deployment.................................................................................................... 369 Defining a Resource Adapter on the Server................................................................................ 370 Resource Adapter Clients.............................................................................................................371 Chapter 29: Caching..................................... 373
Installing Ehcache........................................................................................................................ 373 Configuring Hibernate for Ehcache............................................................................................. 374 Defining Cached Objects in the Code.......................................................................................... 377 Monitoring Caching Activities......................................................................................................378 Chapter 30: NoSQL..................................... 381 Using CouchDB from Jakarta EE Applications............................................................................. 381 Using MongoDB from Jakarta EE Applications............................................................................ 385 Part VI: Security Enhancements............................. 389 Chapter 31: Secured JMX..................... ................................... 391 Using SSL for Remote JMX Connections..................................................................................... 391 Generating the SSL Keys.............................................................................................................. 391 Configuring the Server................................................................................................................. 395 Configuring the Client.................................................................................................................. 395 Disabling Random JMX
Ports.......................................................................................................397 xii
TABLE OF CONTENTS Chapter 32: Java Web Tokens with Encryption............................................................. 399 Installing Jose4j.......................................................................................................................... 400 Encrypting Claims....................................................................................................................... 400 Decrypting Claims....................................................................................................................... 403 Further Reading.......................................................................................................................... 405 Chapter 33: Java Enterprise Security............................................................................ 407 Form-Based Authentication........................................................................................................ 407 The Security API.......................................................................................................................... 408 Authentication Data: Identitystore.............................................................................................. 408 Authentication Methods: HttpAuthenticationMechanism........................................................... 410 Part VII: Advanced Monitoring and Logging.......................................................... 413 Chapter 34: Monitoring Workflow...................... 415 Using JMX as a Monitoring
Technology...................................................................................... 415 Enabling Remote JMX................................................................................................................. 417 MBeans in Jakarta EE Applications............................................................................................. 418 Aggregating Values..................................................................................................................... 420 JMX Clients................................................................................................................................. 423 Monitoring Frameworks.............................................................................................................. 425 Chapter 35: Logging Pipeline with Fluentd........................... 427 Installing Fluentd........................................................................................................................ 428 Running Fluentd.......................................................................................................................... 429 Using Logfiles as Input................................................................................................................ 430 Filtering........................................................................................................................................ 432 Using Multiple Routes................................................................................................................. 433 Fluentd
Output............................................................................................................................ 435 Further Reading.......................................................................................................................... 436 xiii
TABLE OF CONTENTS Chapter 36: Performance Troubleshooting.............................................. 437 Load and Performance Tests............................................................................................................437 NFR Testing Methodology..... .................................................................................................... 438 Where to Run NFR Tests.............................................................................................................440 NFR Test Duration....................................................................................................................... 441 NFR Tests with JMeter................................................................................................................ 441 Frontend Tests with Selenium................................................................................................... 445 Analyzing Performance Figures...................................................................................................... 446 Reducing the File Size................................................................................................................ 446 Plotting a Performance Chart............................................................. 447 No Min or Max, Please................................................................................................................ 449 Code-Level Monitoring with VisualVM........................................................................................... 450 Code
Optimization............................................................................................................................ 452 Chapter 37: Garbage Collection......................................... 455 The Importance of Garbage Collectors........................................................................................... 455 G1 Garbage Collector....................................................................................................................... 456 Shenandoah GC................................................................................................................................. 456 Zero Garbage Collector........................................................................................................... 456 Garbage Collector Logs.................................................................................................................... 457 Chapter 38: Memory Troubleshooting............................................... Identifying Memory Leaks.............................................................. 459 459 More Evidence: Heap Dumps.......................................................................................................... 463 Analyzing Heap Dumps.................................................................................................................... 466 Chapter 39: Custom Log4j Appender................................... 473 Including Log4j.................................................................................................................................. 475 A
Statistics Appender....................................................................................................................... 475 Index......... .................... xiv 481
|
adam_txt |
Table of Contents About the Author. About the Technical Reviewer. Introduction. .xv xvii xix Part I: Development Workflow Proposal. 1 Chapter 1: Installing a Development Server. 3 Installing and Running Under Linux. 4 Installing and Running Under Windows. 5 GlassFish Application Debugging. 6 Elaborated GlassFish Operation Instructions.6 Chapter 2: Creating and Building Projects with Eclipse. . 7 Installing Eclipse.7 Configuring Eclipse. 9 Adding Java Runtimes. 10 Adding Plugins.10 Using Eclipse to
Administer a Jakarta EE Server.11 Eclipse Everyday Usage. 19 Changing the Project Layout. 20 Chapter 3: Development with NetBeans as an IDE. . 23 Installing NetBeans. 23 Starting a NetBeans Project. 24 Multi-IDE Projects. 25 v
TABLE OF CONTENTS Chapter 4: Git and Subversion. 27 The Subversion Version Control System. 27 Subversion Clients. 32 The Git Version Control System.36 Git Clients. 39 Chapter 5: Continuous Integration. 43 The Jenkins Cl Server. 43 Starting a Jenkins Project. 44 Build Triggers. 46 Creating Real-World Builds.49 Triggering Builds from Git. 53 Triggering Builds from Subversion. 55 Analyzing Jenkins Builds
via REST. 56 Chapter 6: Corporate Maven Repositories. . 61 The Maven Repository Layout. 63 A Simple Server to Provide Mavenized Artifacts. 64 The Marvin EAR Root Project. 65 The Marvin Web Project.69 The Marvin EJB Project.70 Laying Out the Projects Again. 71 The Web Project Code.72 The EJB Project Code. 75 Building and Deploying the EAR. 79 Using the Corporate Repository. 79 A Sample Java
Library. 80 Building and Uploading Company Libraries. 82 Part II: Advanced Web Tier Topics. .87 Chapter 7: Facelets. . 89 Faces Templating via Facelets.89 Installing Facelets. 90 vi
TABLE OF CONTENTS Facelets Tags Overview. 91 The ui:include Tag. 91 First Variation of the ui:composition Tag.91 Second Variation of the ui:composition Tag.91 The ui:insert Tag. 92 The ui:define Tag. 93 The ui:param Tag. 93 The ui:component Tag. 93 The ui:decorate Tag. 94 The ui:fragment Tag. 95 The ui:repeat Tag. 96 The ui:debug Tag. 97 An Example Facelets
Project. 98 Chapter 8: Faces Custom Components. .111 Custom Tag Libraries. 111 Composite Components. 114 Custom Components in Java. 117 Chapter 9: Flows. .119 The Flow Process.119 Basic Flow Setup.120 Overriding Conventions. 123 Specifying a Different Flow Start Page. 124 Specifying a Different Return Page. 124 Programmatic Configuration. 125 Handling Flow
Outcome. 127 Passing Data Between Flows. 127 Chapter 10: Websockets. 131 Websockets on the Server Side. 131 Websockets on the Client Side. 135 vii
TABLE OF CONTENTS Chapter 11: Frontend Technologies. 137 No Third-Party Frontend Technology. 138 Play 2. 139 React.139 Angular 2. 141 Spring Boot. 142 Vue.142 Spring MVC. 143 Ember. 144 Act. Framework. 145 Apache Struts 2. 145
GWT. 146 Vaadin. 147 DataTables. 147 D3js. 148 Chapter 12: Form-Based Authentication. 149 Enabling Security on the Sever. 149 Form-Based Authentication for Faces. 151 Security Role Mapping. 154 Form-Based Authentication XHTML Code. 155 Chapter 13: Client Certificates. 159 Preparing Scripting. 159 Generating Client Certificates.160 Storing the Client Certificate in the
Browser. 163 Storing the Client Certificate on the Server. 164 Client Certificate Web Applications. 166 Additional GlassFish Configuration. 168 Client Certificate Example. 169 viii
TABLE OF CONTENTS Chapter 14: REST Security. 175 Security Constraints for REST URLs. 176 About JSON Web Tokens. 176 Preparing GlassFish. 178 The JWT Login Process, Client Code. 178 Server Code. 184 The JWT Login Process, Server Code. 185 Sending JWTs Back to the Server. 190 Handling JWTs in REST Endpoints. 191 Chapter 15: JAVA MVC. 195 About MVC. 195 Installing Java
MVC. 196 Configuration Files. 198 Static Files. 203 Model Classes.203 Controller Classes. 206 Messages. 212 View Pages. 214 Running the Pet Shop Application. 223 Part III: Advanced Architecture Related Topics. . 225 Chapter 16: Microprofiles. . 227 Starting a MicroProfile Sample Project. 229 Installing a MicroProfile Server. 231 Changing the
Application to a Microservice. 231 Deploying and Running the Microservice. 234 Chapter 17: Custom CDI. . 241 CDI Specification. 241 Building Object Graphs. 242 Qualifiers. 246 ix L
TABLE OF CONTENTS Alternatives. 249 Producers. 251 Scope. 253 Interceptors. 255 Decorators. 255 Chapter 18: Interceptors. 257 GDI Interceptors. 257 JPA Lifecycle Listeners. 261 Servlet Listeners. 263 Faces Phase Listeners. 264 Chapter 19: Bean Validation. 267 Where to Use Bean
Validation.268 How to Add Constraints. 269 Built-in Constraints. 269 Custom Constraints. 272 Bean Validation Exceptions.274 Chapter 20: Jakarta EE Concurrency. 277 Preparing the Jakarta EE Server. 277 Using a ManagedExecutorService. 278 Using a ManagedScheduledExecutorService. 280 Using the ManagedThreadFactory. 283 Enterprise Concurrency and Transactions. 284 Chapter 21 : Batch Processing. 285 Batch Processing
Concepts.285 Preparing the Server for Batch Processing. 286 An Employee Attendance Example Batch Processing.287 Starting a Batch Processing EAR Project. 288 Example Data Preparation.293 Job Definition File. 293 x
TABLE OF CONTENTS Batch Processing Scheduling. 295 Batch Processing Java Artifacts. 296 Building and Deploying the Application. 303 Part IV: Useful Supporting Technologies. . 305 Chapter 22: XML Binding. 307 Why JAXB Is So Complicated. 307 Writing a Java Object Tree as XML. 309 Adding a Schema. 313 Transforming from XML to Java. 316 Generating Java Classes from Schemas. 317 Chapter 23: JSON Handling.319 JSON Documents. 319 JSON with REST
Services. 320 Generating JSON. 323 Parsing JSON. 324 Binding JSON to Java Objects. 325 Chapter 24: Jakarta Mail. 331 Installing Jakarta Mail. 331 Generating and Sending Emails. 331 Chapter 25: Application Client (Groovy). . 335 Providing an Enterprise Application. 335 Building an Application Client. 337 Running a GroovyConsole Application Client. 338 Chapter 26: Adding Scripting Languages. 341 Installing Scripting
Engines. 341 Using Scripting in Java. 342 xi
TABLE OF CONTENTS Part V: Advanced Resource Related Topics. 345 Chapter 27: Hibernate as ORM. 347 Installing Hibernate. 347 Adapting the Persistence Configuration. 348 Fetching the Hibernate Session. 349 Chapter 28: Connectors. 351 Coding a Resource Adapter. 351 í Packaging and Deploying a Resource Adapter. 366 '^ Deployment Descriptors. 369 Resource Adapter Deployment. 369 Defining a Resource Adapter on the Server. 370 Resource Adapter Clients.371 Chapter 29: Caching. 373
Installing Ehcache. 373 Configuring Hibernate for Ehcache. 374 Defining Cached Objects in the Code. 377 Monitoring Caching Activities.378 Chapter 30: NoSQL. 381 Using CouchDB from Jakarta EE Applications. 381 Using MongoDB from Jakarta EE Applications. 385 Part VI: Security Enhancements. 389 Chapter 31: Secured JMX. . 391 Using SSL for Remote JMX Connections. 391 Generating the SSL Keys. 391 Configuring the Server. 395 Configuring the Client. 395 Disabling Random JMX
Ports.397 xii
TABLE OF CONTENTS Chapter 32: Java Web Tokens with Encryption. 399 Installing Jose4j. 400 Encrypting Claims. 400 Decrypting Claims. 403 Further Reading. 405 Chapter 33: Java Enterprise Security. 407 Form-Based Authentication. 407 The Security API. 408 Authentication Data: Identitystore. 408 Authentication Methods: HttpAuthenticationMechanism. 410 Part VII: Advanced Monitoring and Logging. 413 Chapter 34: Monitoring Workflow. 415 Using JMX as a Monitoring
Technology. 415 Enabling Remote JMX. 417 MBeans in Jakarta EE Applications. 418 Aggregating Values. 420 JMX Clients. 423 Monitoring Frameworks. 425 Chapter 35: Logging Pipeline with Fluentd. 427 Installing Fluentd. 428 Running Fluentd. 429 Using Logfiles as Input. 430 Filtering. 432 Using Multiple Routes. 433 Fluentd
Output. 435 Further Reading. 436 xiii
TABLE OF CONTENTS Chapter 36: Performance Troubleshooting. 437 Load and Performance Tests.437 NFR Testing Methodology. . 438 Where to Run NFR Tests.440 NFR Test Duration. 441 NFR Tests with JMeter. 441 Frontend Tests with Selenium. 445 Analyzing Performance Figures. 446 Reducing the File Size. 446 Plotting a Performance Chart. 447 No Min or Max, Please. 449 Code-Level Monitoring with VisualVM. 450 Code
Optimization. 452 Chapter 37: Garbage Collection. 455 The Importance of Garbage Collectors. 455 G1 Garbage Collector. 456 Shenandoah GC. 456 Zero Garbage Collector. 456 Garbage Collector Logs. 457 Chapter 38: Memory Troubleshooting. Identifying Memory Leaks. 459 459 More Evidence: Heap Dumps. 463 Analyzing Heap Dumps. 466 Chapter 39: Custom Log4j Appender. 473 Including Log4j. 475 A
Statistics Appender. 475 Index. . xiv 481 |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Späth, Peter |
author_GND | (DE-588)1159794553 |
author_facet | Späth, Peter |
author_role | aut |
author_sort | Späth, Peter |
author_variant | p s ps |
building | Verbundindex |
bvnumber | BV049086251 |
classification_rvk | ST 250 |
ctrlnum | (OCoLC)1401187321 (DE-599)BVBBV049086251 |
discipline | Informatik |
discipline_str_mv | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01714nam a2200421 c 4500</leader><controlfield tag="001">BV049086251</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20230817 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">230802s2023 a||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">GBC375361</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781484282137</subfield><subfield code="9">978-1-48428-213-7</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1484282132</subfield><subfield code="9">1-48428-213-2</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1401187321</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV049086251</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-739</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Späth, Peter</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1159794553</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Pro Jakarta EE 10</subfield><subfield code="b">open source enterprise Java-based cloud-native applications development</subfield><subfield code="c">Peter Späth</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">New York</subfield><subfield code="b">Apress</subfield><subfield code="c">2023</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">492 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield><subfield code="c">26 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Application software / Development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Cloud computing / Design</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Java (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software / Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Java (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Softwareentwicklung</subfield><subfield code="0">(DE-588)4116522-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Jakarta EE 10</subfield><subfield code="0">(DE-588)1262245087</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Jakarta EE 10</subfield><subfield code="0">(DE-588)1262245087</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Softwareentwicklung</subfield><subfield code="0">(DE-588)4116522-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=034348080&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-034348080</subfield></datafield></record></collection> |
id | DE-604.BV049086251 |
illustrated | Illustrated |
index_date | 2024-07-03T22:28:43Z |
indexdate | 2024-07-10T09:54:56Z |
institution | BVB |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-034348080 |
oclc_num | 1401187321 |
open_access_boolean | |
owner | DE-739 |
owner_facet | DE-739 |
physical | 492 Seiten Illustrationen, Diagramme 26 cm |
publishDate | 2023 |
publishDateSearch | 2023 |
publishDateSort | 2023 |
publisher | Apress |
record_format | marc |
spelling | Späth, Peter Verfasser (DE-588)1159794553 aut Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development Peter Späth New York Apress 2023 492 Seiten Illustrationen, Diagramme 26 cm txt rdacontent n rdamedia nc rdacarrier Application software / Development Cloud computing / Design Java (Computer program language) Application software / Development fast Java (Computer program language) fast Softwareentwicklung (DE-588)4116522-6 gnd rswk-swf Jakarta EE 10 (DE-588)1262245087 gnd rswk-swf Jakarta EE 10 (DE-588)1262245087 s Softwareentwicklung (DE-588)4116522-6 s DE-604 Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=034348080&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Späth, Peter Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development Application software / Development Cloud computing / Design Java (Computer program language) Application software / Development fast Java (Computer program language) fast Softwareentwicklung (DE-588)4116522-6 gnd Jakarta EE 10 (DE-588)1262245087 gnd |
subject_GND | (DE-588)4116522-6 (DE-588)1262245087 |
title | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development |
title_auth | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development |
title_exact_search | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development |
title_exact_search_txtP | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development |
title_full | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development Peter Späth |
title_fullStr | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development Peter Späth |
title_full_unstemmed | Pro Jakarta EE 10 open source enterprise Java-based cloud-native applications development Peter Späth |
title_short | Pro Jakarta EE 10 |
title_sort | pro jakarta ee 10 open source enterprise java based cloud native applications development |
title_sub | open source enterprise Java-based cloud-native applications development |
topic | Application software / Development Cloud computing / Design Java (Computer program language) Application software / Development fast Java (Computer program language) fast Softwareentwicklung (DE-588)4116522-6 gnd Jakarta EE 10 (DE-588)1262245087 gnd |
topic_facet | Application software / Development Cloud computing / Design Java (Computer program language) Softwareentwicklung Jakarta EE 10 |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=034348080&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT spathpeter projakartaee10opensourceenterprisejavabasedcloudnativeapplicationsdevelopment |