Professional Documents
Culture Documents
Glassfish in The Real World: Mike Croft
Glassfish in The Real World: Mike Croft
Mike Croft
INTRODUCTIONS
• Ex-IBM
• Snowboarder
• @croft
• What’s a “Middleware”?
• What is RASP?
– Why is it important?
WHAT’S A “MIDDLEWARE”?
JEE
Application
Server
The Middle
WHAT IS “RASP”?
• Availability
• Scalability
• Performance
• Prevents Exploits
• Fraud
• Reputation Risk
• Legal Challenge
Customers need confidence
in their transactions
© C2B2 Consulting Limited 2013
All Rights Reserved
What is RASP?
AVAILABILITY
• Available for customers
• No availability? No transactions
• Transactions = £££
• Receive your P45 if you can’t sort it!
• Graceful Degradation
• Failure Detection
• Growth of Mobile
• Huge Variation of Load through a period
• Sudden Large Spikes due to events
Nodes Host
Stateless Services
Database contains
Database Persistent State
• Resource Limitations
– Not enough cpu, disk, memory
• Resource Contention
– Locks
• IO Latency
– Network, Disk
LATENCY
Time delay in requesting an operation and it being
initiated
• Network Reliability
• Data Size
• Operation Granularity
• Resource Contention
• JVM GC
1. Acquire Servers
2. Acquire GlassFish 4
https://glassfish.java.net/download.html
3. Configure GlassFish
asadmin start-domain domain1
asadmin change-admin-password --user admin asadmin tool
asadmin enable-secure-admin
asadmin restart-domain
Admin console
4. Demo!
ANY QUESTIONS?