Kategorien
E-Books
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Computer im Büro
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Multimedia-Training
- Immobilien
- Überzeugung und NLP
- Steuern
- Sozialpolitik
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Berichte, Analysen
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
E-Presse
- Architektura i wnętrza
- Biznes i Ekonomia
- Haus und Garten
- E-Business
- Finanzen
- Persönliche Finanzen
- Unternehmen
- Fotografie
- Informatik
- HR und Gehaltsabrechnung
- Computer, Excel
- Buchhaltung
- Kultur und Literatur
- Wissenschaftlich und akademisch
- Umweltschutz
- meinungsbildend
- Bildung
- Steuern
- Reisen
- Psychologie
- Religion
- Landwirtschaft
- Buch- und Pressemarkt
- Transport und Spedition
- Gesundheit und Schönheit
-
Geschichte
-
Informatik
- Office-Programme
- Datenbank
- Bioinformatik
- IT Branche
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronik
- Digitale Fotografie
- Computergrafik
- Spiele
- Hacking
- Hardware
- IT w ekonomii
- Wissenschaftliche Pakete
- Schulbücher
- Computergrundlagen
- Programmierung
- Mobile-Programmierung
- Internet-Server
- Computernetzwerke
- Start-up
- Betriebssysteme
- Künstliche Inteligenz
- Technik für Kinder
- Webmaster
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Gedicht
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Schulbücher
-
Populärwissenschaft und akademisch
- Archäologie
- Bibliotekoznawstwo
- Filmwissenschaft
- Philologie
- Polnische Philologie
- Philosophie
- Finanse i bankowość
- Erdkunde
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Linguistik
- Literaturwissenschaft
- Logistik
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Theatrologie
- Teologie
- Theorien und Wirtschaftswissenschaften
- Transport i spedycja
- Sportunterricht
- Zarządzanie i marketing
-
Handbȕcher
-
Spielanleitungen
-
Professioneller und fachkundige Leitfaden
-
Jura
- Sicherheit und Gesundheit am Arbeitsplatz
- Geschichte
- Verkehrsregeln. Führerschein
- Rechtswissenschaften
- Gesundheitswesen
- Allgemeines. Wissenskompendium
- akademische Bücher
- Andere
- Bau- und Wohnungsrecht
- Zivilrecht
- Finanzrecht
- Wirtschaftsrecht
- Wirtschafts- und Handelsrecht
- Strafrecht
- Strafrecht. Kriminelle Taten. Kriminologie
- Internationales Recht
- Internationales und ausländisches Recht
- Gesundheitsschutzgesetz
- Bildungsrecht
- Steuerrecht
- Arbeits- und Sozialversicherungsrecht
- Öffentliches, Verfassungs- und Verwaltungsrecht
- Familien- und Vormundschaftsrecht
- Agrarrecht
- Sozialrecht, Arbeitsrecht
- EU-Recht
- Industrie
- Agrar- und Umweltschutz
- Wörterbücher und Enzyklopädien
- Öffentliche Auftragsvergabe
- Management
-
Führer und Reisen
- Afrika
- Alben
- Südamerika
- Mittel- und Nordamerika
- Australien, Neuseeland, Ozeanien
- Österreich
- Asien
- Balkan
- Naher Osten
- Bulgarien
- China
- Kroatien
- Tschechische Republik
- Dänemark
- Ägypten
- Estland
- Europa
- Frankreich
- Berge
- Griechenland
- Spanien
- Niederlande
- Island
- Litauen
- Lettland
- Mapy, Plany miast, Atlasy
- Miniführer
- Deutschland
- Norwegen
- Aktive Reisen
- Polen
- Portugal
- Andere
- Russland
- Rumänien
- Slowakei
- Slowenien
- Schweiz
- Schweden
- Welt
- Türkei
- Ukraine
- Ungarn
- Großbritannien
- Italien
-
Psychologie
- Lebensphilosophien
- Kompetencje psychospołeczne
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Hörbücher
-
Wirtschaft
- Bitcoin
- Geschäftsfrau
- Coaching
- Controlling
- E-Business
- Ökonomie
- Finanzen
- Börse und Investitionen
- Persönliche Kompetenzen
- Kommunikation und Verhandlungen
- Kleines Unternehmen
- Marketing
- Motivation
- Immobilien
- Überzeugung und NLP
- Steuern
- Handbȕcher
- Präsentationen
- Führung
- Public Relation
- Geheimnis
- Social Media
- Verkauf
- Start-up
- Ihre Karriere
- Management
- Projektmanagement
- Personal (HR)
-
Für Kinder
-
Für Jugendliche
-
Bildung
-
Enzyklopädien, Wörterbücher
-
Geschichte
-
Informatik
-
Andere
-
Fremdsprachen lernen
-
Kultur und Kunst
-
Lektüre
-
Literatur
- Anthologien
- Ballade
- Biografien und Autobiografien
- Für Erwachsene
- Drama
- Tagebücher, Memoiren, Briefe
- Epos
- Essay
- Science Fiction
- Felietonys
- Fiktion
- Humor, Satire
- Andere
- Klassisch
- Krimi
- Sachbücher
- Belletristik
- Mity i legendy
- Nobelpreisträger
- Kurzgeschichten
- Gesellschaftlich
- Okultyzm i magia
- Erzählung
- Erinnerungen
- Reisen
- Poesie
- Politik
- Populärwissenschaftlich
- Roman
- Historischer Roman
- Prosa
- Abenteuer
- Journalismus
- Reportage
- Romans i literatura obyczajowa
- Sensation
- Thriller, Horror
- Interviews und Erinnerungen
-
Naturwissenschaften
-
Sozialwissenschaften
-
Populärwissenschaft und akademisch
- Archäologie
- Philosophie
- Wirtschaft
- Handel. Weltwirtschaft
- Geschichte und Archäologie
- Kunst- und Architekturgeschichte
- Kulturwissenschaft
- Literaturwissenschaft
- Mathematik
- Medizin
- Geisteswissenschaften
- Pädagogik
- Lehrmittel
- Populärwissenschaftlich
- Andere
- Psychologie
- Soziologie
- Teologie
- Zarządzanie i marketing
-
Handbȕcher
-
Professioneller und fachkundige Leitfaden
-
Jura
-
Führer und Reisen
-
Psychologie
- Lebensphilosophien
- zwischenmenschliche Kommunikation
- Mindfulness
- Allgemeines
- Überzeugung und NLP
- Akademische Psychologie
- Psychologie von Seele und Geist
- Arbeitspsychologie
- Relacje i związki
- Elternschafts- und Kinderpsychologie
- Problemlösung
- Intellektuelle Entwicklung
- Geheimnis
- Sexualität
- Verführung
- Aussehen ind Image
- Lebensphilosophien
-
Religion
-
Sport, Fitness, Diäten
-
Technik und Mechanik
Videokurse
-
Datenbank
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersicherheit
-
Data Science
-
DevOps
-
Für Kinder
-
Elektronik
-
Grafik / Video / CAX
-
Spiele
-
Microsoft Office
-
Entwicklungstools
-
Programmierung
-
Persönliche Entwicklung
-
Computernetzwerke
-
Betriebssysteme
-
Softwaretest
-
Mobile Geräte
-
UX/UI
-
Web development
-
Management
Podcasts
Details zum E-Book
Einloggen, wenn Sie am Inhalt des Artikels interessiert sind.
JBoss AS 5 Performance Tuning. Build faster, more efficient enterprise Java applications
Francesco Marchioni, Jason Savod
E-book
Today's organizations need to deliver faster services to a large set of people and businesses. In order to survive this challenge, enterprises need to optimize the performance of their application server along with its components and hardware. Writing faster applications is no longer just an option for your products; it's an imperative requirement, which you cannot ignore.
JBoss AS 5 Performance Tuning will teach you how to deliver fast applications on the JBoss Application Server and Apache Tomcat, giving you a decisive competitive advantage over your competitors. You will learn how to optimize the hardware resources, meeting your application requirements with less expenditure.The performance of Java Enterprise applications is the sum of a set of components including the Java Virtual Machine configuration, the application server configuration (in our case, JBoss AS), the application code itself and ultimately the operating system. This book will show you how to apply the correct tuning methodology and use the tuning tools that will help you to monitor and address any performance issues.
By looking more closely at the Java Virtual Machine, you will get a deeper understanding of what the available options are for your applications and how their performance will be affected. You will learn about thread pool tuning, EJB tuning, JMS tuning, Enterprise Java Beans, and the Java Messaging Service.
The persistence layer and JBoss Clustering service each have a chapter dedicated to them as they are two of the most crucial elements to configure correctly in order to run a fast application.
You will also learn how to tune your web server, enabling you to configure and develop web applications that get the most out of the embedded Tomcat web server.
JBoss AS 5 Performance Tuning will teach you how to deliver fast applications on the JBoss Application Server and Apache Tomcat, giving you a decisive competitive advantage over your competitors. You will learn how to optimize the hardware resources, meeting your application requirements with less expenditure.The performance of Java Enterprise applications is the sum of a set of components including the Java Virtual Machine configuration, the application server configuration (in our case, JBoss AS), the application code itself and ultimately the operating system. This book will show you how to apply the correct tuning methodology and use the tuning tools that will help you to monitor and address any performance issues.
By looking more closely at the Java Virtual Machine, you will get a deeper understanding of what the available options are for your applications and how their performance will be affected. You will learn about thread pool tuning, EJB tuning, JMS tuning, Enterprise Java Beans, and the Java Messaging Service.
The persistence layer and JBoss Clustering service each have a chapter dedicated to them as they are two of the most crucial elements to configure correctly in order to run a fast application.
You will also learn how to tune your web server, enabling you to configure and develop web applications that get the most out of the embedded Tomcat web server.
- JBoss AS 5 Performance Tuning
- Table of Contents
- JBoss AS 5 Performance Tuning
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 1. Performance Tuning Concepts
- Preface
- What you will get from this book?
- What is performance?
- Scalability: the other side of performance
- The tuning process
- Tuning in the software development cycle
- Building the performance test
- Establish a baseline
- Collect data
- How long should data collection last?
- Analyze data
- Configure and test again
- Tuning Java Enterprise applications
- Areas of tuning
- Summary
- 2. Installing the Tools for Tuning
- Welcome to scientific tuning
- The rationale behind the choice of the tools
- Profiling the Java Virtual Machine
- Installing the JVM
- Installing VisualVM
- Connecting to a local server
- Connecting to a remote server
- Monitoring your server
- The Monitor tab
- The Threads tab
- The Profiler tab
- Collecting snapshots
- Extending VisualVM
- Profiling your applications with Eclipse Test and Performance Tools Platform (TPTP) Project
- Installing the TPTP suite
- Updating Eclipse
- How to profile an application
- Going beyond the basics of TPTP
- Installing the TPTP suite
- Load testing your application with JMeter
- Building a Test Plan
- Step 1: Create a Thread Group
- Step 2: Create a Sampler
- Step 3: Create a Listener
- Making your test plan a bit more realistic
- How to create a complex Test Plan
- Running JMeter as a shell
- Building a Test Plan
- Operating system tools and commands
- Windows users
- Unix users
- Dealing with low CPU utilization
- Dealing with high CPU utilization
- Dealing with high resource contention
- Dealing with high disk utilization
- Summary
- Welcome to scientific tuning
- 3. Tuning the Java Virtual Machine
- The starting point
- Choosing the JVM settings
- Setting the correct heap size
- The correct amount of memory to grant your application
- Step # 1: Finding the maximum heap (-Xmx)
- Step # 2: Finding the initial heap size (-Xms)
- I cannot allocate enough memory for the JVM!
- Where do I configure JVM settings in JBoss AS?
- The correct amount of memory to grant your application
- Sizing the garbage collector generations
- Setting the correct heap size
- Which is the correct ratio between the young and old generations?
- The garbage collector algorithms
- Choosing the right garbage collector for your application
- The G1 garbage collector
- Debugging garbage collection
- Making good use of the memory
- Avoid creating large Java objects
- Handling Out of Memory' errors
- Finding the memory leak in your code
- A practical example
- Application description
- Setting up a test bed
- Benchmark aftermath
- Consideration #1
- Consideration #2
- Action
- Further optimization
- Benchmark aftermath
- Summary
- 4. Tuning the JBoss AS
- From release 4.x to 5.x, and on
- Comparing server releases
- Creating a custom application server configuration
- JBoss AS pools
- The System thread pool
- Finding out if the System thread pool is a bottleneck
- JDBC connection pool
- Calculating the optimal min-pool-size and max-pool-size
- Using Prepared Statements efficiently
- Two things to be aware of:
- Detecting connection leaks
- Should you reuse connections or acquire new ones from the pool?
- The System thread pool
- Logging for performance
- Choosing the best logging strategy
- Which is the fastest appender?
- Should I use the AsyncAppender to improve my log throughput?
- Which layout should I choose for my logs?
- Is it enough to increase the log threshold to get rid of log charge?
- How does logging hierarchy influence performance?
- Choosing the best logging strategy
- Summary
- From release 4.x to 5.x, and on
- 5. Tuning the Middleware Services
- Introduction to Enterprise Java Beans
- Session Beans
- How to configure the optimal size for stateless pool?
- How to configure the optimal size of stateful cache?
- Comparing SLSBs and SFSBs performance
- When things get wilder
- Is it possible that Stateful Beans are faster then Stateless Beans?
- Session Beans and Transactions
- Customizing JBoss EJB container policies
- Customizing the single deployment unit
- Session Beans
- Introduction to the Java Messaging system
- Entering the JBoss Messaging system
- Tuning JBoss JMS provider
- Tuning JBoss Messaging (JBoss AS 5.x)
- How do you tune the JBoss Messaging Connection factory?
- How do you tune JBoss Messaging destinations?
- Tuning HornetQ (JBoss AS 6.x)
- How to configure HornetQ journal for optimal performance?
- How do you configure HornetQ transport for optimal performance?
- Basic JMS tuning
- Tuning JBoss Messaging (JBoss AS 5.x)
- An example use case with HornetQ
- Summary
- Introduction to Enterprise Java Beans
- 6. Tuning the Persistence Layer
- Designing a good database
- Reducing the space needed by your database
- Partitioning the database
- Using indexes
- Tuning JDBC
- Using a Connection Pool
- Setting the proper fetch size
- Use batch updates for bulk insert/updates
- Use Prepared Statements instead of Statements
- Tuning JDBC networking
- Tuning Hibernate and JPA
- Optimizing object retrieval
- Limiting the amount of data fetched with pages
- Fetching parent and child items with a single query
- Combining join fetches and paging
- Speeding up your Hibernate queries with batches
- Using named queries to speed up your queries
- Improving the performance of bulk SQL statements
- Optimizing object retrieval
- Evaluating using caches to speed up your queries
- Hibernate caches
- The first-level cache
- The second-level cache
- Configuring the second-level cache on JBoss AS
- The query cache
- Entity cache versus query cache
- Optimizing data synchronization
- A sample use case
- Summary
- Designing a good database
- 7. JBoss AS Cluster Tuning
- Introduction to JBoss clustering
- Configuring JGroups transport
- How to optimize the UDP transport configuration
- How to optimize the JGroups' Protocol stack
- Tuning JBoss Cache
- Understanding JBoss Cache configuration
- Configuring cacheMode
- Configuring cache concurrency
- Configuring the isolationLevel
- Understanding JBoss Cache configuration
- Tuning session replication
- Override SFSB's isModified method
- Use buddy replication
- Advanced buddy replication
- Buddy replication and session affinity
- Configure replication granularity and replication trigger
- How to configure the replication-trigger
- How to configure the replication-granularity
- Tuning cache storage
- Where does cache data get stored?
- Summary
- 8. Tomcat Web Server Tuning
- JBoss Web server basics
- Configuring Connectors for optimal performance
- How do you calculate the threads for your application?
- A concrete example
- The long life of Web threads
- Is there a maximum amount of connections the Web server can handle?
- How do you calculate the threads for your application?
- Using Apache Portable Runtime
- Integrating JBoss Web server with Apache Web server
- Load testing Apache-JBoss connectivity
- mod_cluster to the rescue?
- Last tips before rolling JBoss Web server in production
- Configuring Connectors for optimal performance
- Summary
- JBoss Web server basics
- 9. Tuning Web Applications on JBoss AS
- Choosing a framework for your web applications
- Comparing framework performance
- The performance of tabular data
- The performance of rich tree
- Increasing the performance of JSF and RichFaces
- Configuring JSF state saving efficiently
- Using Ajax to speed up your JSF applications
- Speeding up CSS and JavaScript file loading
- Comparing framework performance
- Tuning web services
- Performance of web services
- Elements influencing the performance of web services
- Reducing the size of SOAP messages
- Faster JBossWS provider
- The wisdom behind these benchmarks
- Performance of web services
- Summary
- Choosing a framework for your web applications
- A. A Tuned Mind
- Index
- Titel: JBoss AS 5 Performance Tuning. Build faster, more efficient enterprise Java applications
- Autor: Francesco Marchioni, Jason Savod
- Originaler Titel: JBoss AS 5 Performance Tuning. Build faster, more efficient enterprise Java applications
- ISBN: 9781849514033, 9781849514033
- Veröffentlichungsdatum: 2010-12-03
- Format: E-book
- Artikelkennung: e_3aty
- Verleger: Packt Publishing