SlideShare uma empresa Scribd logo
1 de 35
Glassfish & WebLogic
Sibling Rivalry?
Andrew Rosson – Solution Director - Middleware
Lansen
Agenda
1. The Oracle stables
2. Comparison debate
3. Conclusions
Takeaways from today.
• Glassfish is true contender and a sensible
choice for Java development environments.
– What helped? Clustering from v3.1 onwards.

• WebLogic is Oracle’s Application Certified
Server of choice to support the applications
portfolio and the Fusion Middleware Stack.
• GlassFish has a community (free) edition.
Lansen Middleware
1. Java Application Servers
2. Unstructured Data
3. Application Development

Product Specialties
•
•
•
•

Oracle WebLogic,
Oracle Glassfish,
Oracle jRockit JVM,
Oracle HotSpot JVM

____________________________________________
Lansen has a number of engineers who focus on this
area and ensure the establishment, tuning and
maintenance of the WebLogic or Glassfish application
servers is done correctly and is aligned with the
performance and architectural expectations of each
customer.
Loads of choices…
The Two Adopted Brothers
Not Born of this House
“The rivalry is
with ourself. I try
to be better than
is possible.

I fight against
myself, not
against the
other.”
Luciano Pavarotti
Origins – The Oracle Stable
• Oracle Application Server 10g, 10.1.3.5
– Formally Orion

• Oracle Weblogic 11g, 10.3.6
– Formally BEA

• Oracle Glassfish 3.1
– Formally SUN
Market Share 2013

• WebLogic up
from 10% in
2011
• Glassfish up
from 8% in
2011

Source: http://zeroturnaround.com
Glassfish4 - Released mid-2013
Oracle announced the availability of GlassFish Server Open Source
Edition 4, the world's first Java EE 7 compatible application server.
• GlassFish Server Open Source Edition 4.1 is scheduled for 2014
• GlassFish Server Open Source Edition 5 is the foundation for the
Java EE 8 reference implementation

“The primary role of GlassFish Server Open Source Edition has
been, and continues to be, driving adoption of the latest
release of the Java Platform, Enterprise Edition.”
November 4th Update from Oracle.
• Oracle will no longer provide GlassFish commercial support
• Commercial Java EE 7 support will be provided from WebLogic Server
• Oracle GlassFish Server will not be releasing a 4.x commercial version
Comparison Points
•
•
•
•
•
•

Download
Architecture
Administration & Configuration
Deploy applications
Performance
Cost and Licencing
Download
• The download size differences are dramatic.
87Mb

1Gb

Glassfish 3.1.2.2 ZIP

Generic WebLogic 11g JAR

97Mb

880Mb

Glassfish 4.0 ZIP

Generic WebLogic 12c JAR

182Mb
Generic WebLogic 12c ZIP
Architecture - WebLogic
• A machine is a virtual representation of the host.
• Servers have their own directory structure
• Applications are deployed from the
$ServerName/stage directory into the onto the
$ServerName/tmp/_WL_user directory

Managed Server 1
Deployed &
Runtime
apps
Admin Server
With
Domain Config

Managed Server 2
Cluster

Machine and Node Manager
Domain
Architecture - Glassfish
• The node directory is separate from the domain directory
• Applications are deployed from the
$domains/$DomainName/applications directory to the
$nodes/$NodeName/$InstanceName/applications directory
Domain Config
changes

Instance 1

Deployed
apps

Instance 2
Cluster
Runtime apps

Admin Server
(DAS)

Node
Domain
Administration & Configuration
• Both have Graphical UI’s.
• Both provide a scripting interface.
– Glassfish: asadmin
– WebLogic: wlst
WebLogic Administration
Glassfish Administration
Administration & Configuration
Scripting tools
Scripting tools
[oracle@inpergf1 bin]$ ./asadmin
Use "exit" to exit and "help" for online help.
asadmin>
list-domains
domain1 not running
Command list-domains executed successfully.
asadmin> exit

wls:/wcuat01_domain/serverConfig>
nmEnroll(domainDir='/u02/projects/domains/wcuat01_domain',nmHome
='/u01/app/middleware/wlserver_10.3/common/nodemanager')
wls:/wcuat01_domain/serverConfig>
exit()
Glassfish asadmin Utility
[oracle@inpergf1 bin]$ ./asadmin
Use "exit" to exit and "help" for online help.
asadmin> list-domains
domain1 not running
Command list-domains executed successfully.
asadmin>

asadmin> start-domain domain1
Waiting for domain1 to start ........
Successfully started the domain : domain1
domain Location: /u01/app/glassfish3/glassfish/domains/domain1
Log File: /u01/app/glassfish3/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.
asadmin>
Glassfish asadmin Utility
asadmin>deploy --user admin -W /tmp/admin_password.txt --target
some_cluster --force true /var/some/project/application.ear
Application deployed with name application
Command deploy executed successfully.
asadmin>

asadmin>create-jdbc-resource --user admin -W /tmp/admin_password.txt -connectionpoolid jdbc/poolName --enabled true jdbc/jndiName domain1
Successfully created the jdbc resource: jdbc/jndiName
Command create-jdbc-resource executed successfully.
asadmin>

asadmin> stop-domain domain1
Waiting for the domain to stop ....
Command stop-domain executed successfully.
asadmin>
Admin & Config – Our findings
Admin tasks.
We use the asadmin utility 90%
of the time.

Jenkins: CI remote deployment easier than WebLogic
Easy to set-up security realms
• JDBC authentication way easier than WLS
Deployment
At Lansen we use a “Continuous Integration” automated deployment approach.
An automated build compiles the code, runs the tests, and does anything that
regularly needs to be done as part of the project’s build process.
Deployment – How often?
Average redeploy time.
4 times an hour.
A developer spends
10.5 minutes an hour or
17.5% of total coding
time – Redeploying!!

5.3 40-hour workweeks
per year are spent
exclusively redeploying
and restarting.
Source: http://zeroturnaround.com
Deployment – How long?

• WLS average redeploy time is 6% longer than Glassfish.
• The choice of application server correlates to the time spent
redeploying,
– bigger application servers are not slower,
– bigger applications influence the choice of application server.
Deployment – Our findings
ADF via jDeveloper
• The deployment to WebLogic is smoother and overall quicker.
Assisted with the Iterative Development page refresh utility.
• The same app needs to be “ear-ed” and then deployed to Glassfish
each time we change anything.
• Makes CSS skinning and layout positioning very challenging.
• There must be a PermGen size leak as we need to do a complete
bounce of GlassFish @ each 5th deployment attempt.

Java Application .ear or .war (not ADF)
• Glassfish deployment is great for non-ADF deployments.
High Availability
• No side-by-side/rolling deployments option in GF.
Performance
Andrejus B’s ADF Performance Results
• “ADF Essentials is certified on Glassfish server so
we can run performance tests and compare ADF
runtime performance on both Glassfish and
WebLogic.”
• Spoiler Alert** ADF runs faster on Glassfish
server.
“Probably because Glassfish server is much lighter
compared to WebLogic and in turn executes the
ADF runtime faster.”
Source: http://andrejusb.blogspot.com.au/2012/10/adf-11g-r2-weblogic-1035-vs-adf.html
Performance – Benchmark Test
The ADF application contains two tabs.
Stress test is recorded for each user to
1. navigate through records,
2. go to last/first record,
3. open long list LOV for Album Id

Source: http://andrejusb.blogspot.com.au/2012/10/adf-11g-r2-weblogic-1035-vs-adf.html
Performance - Benchmark Results
• 25 concurrent users.

• Glassfish: 0.8
seconds in average
• WebLogic: 1.4
seconds in average

Source: http://andrejusb.blogspot.com.au
Performance – Benchmark Results
• 50 concurrent users.

• Glassfish: 8.7
seconds in average
• WebLogic: 17.2
seconds in average

Source: http://andrejusb.blogspot.com.au
Performance – Our findings
His results show WebLogic to be 2 x slower than
Glassfish when running the same ADF application.
Our tests.
• We have not noticed such bad WLS results.
• WLS: We manage consistent <2 second page times
• GF: Closer to <4 seconds
– Our GF cluster was not as substantial as our WLS one
– It was also not optimized and highly tuned
Cost & Licensing
No FMW products are certified with Glassfish.
Glassfish Community Edition: $Free
GlassFish 4: $5000.00 / per CPU (List)
Update Nov 4th: Now not available!!

WebLogic EE: $25000.00 / per CPU (List)
Conclusions
Could you use WebLogic on your desktop and
Glassfish in Production?
Should you consider Glassfish for pure java
projects?
Should you consider Glassfish for your
Production environment?
Glassfish asadmin Utility

Mais conteúdo relacionado

Mais procurados

Boston 2011 OTN Developer Days - GlassFish
Boston 2011 OTN Developer Days - GlassFishBoston 2011 OTN Developer Days - GlassFish
Boston 2011 OTN Developer Days - GlassFishArun Gupta
 
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011Arun Gupta
 
Serverless Java Challenges & Triumphs
Serverless Java Challenges & TriumphsServerless Java Challenges & Triumphs
Serverless Java Challenges & TriumphsDavid Delabassee
 
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...Arun Gupta
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
JBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionJBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionDimitris Andreadis
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the UnionDimitris Andreadis
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)Roman Kharkovski
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15Frank Munz
 
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)Andreas Koop
 
Turn you Java EE Monoliths into Microservices with WildFly Swarm
Turn you Java EE Monoliths into Microservices with WildFly SwarmTurn you Java EE Monoliths into Microservices with WildFly Swarm
Turn you Java EE Monoliths into Microservices with WildFly SwarmDimitris Andreadis
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outlineVybhava Technologies
 
Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo
 
Conduct JBoss EAP 6 seminar
Conduct JBoss EAP 6 seminarConduct JBoss EAP 6 seminar
Conduct JBoss EAP 6 seminarSyed Shaaf
 
Polygot Java EE on the GraalVM
Polygot Java EE on the GraalVMPolygot Java EE on the GraalVM
Polygot Java EE on the GraalVMRyan Cuprak
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.Dimitris Andreadis
 

Mais procurados (20)

Boston 2011 OTN Developer Days - GlassFish
Boston 2011 OTN Developer Days - GlassFishBoston 2011 OTN Developer Days - GlassFish
Boston 2011 OTN Developer Days - GlassFish
 
GlassFish v3 Prelude Aquarium Paris
GlassFish v3 Prelude Aquarium ParisGlassFish v3 Prelude Aquarium Paris
GlassFish v3 Prelude Aquarium Paris
 
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
Deploying Java EE 6 Apps in a Cluster: GlassFish 3.1 at Dallas Tech Fest 2011
 
Serverless Java Challenges & Triumphs
Serverless Java Challenges & TriumphsServerless Java Challenges & Triumphs
Serverless Java Challenges & Triumphs
 
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
GlassFish 3.1 – Simplifying your Java EE 6 Development and Deployment @ JAX L...
 
Project Fuji/OpenESB Aquarium Paris
Project Fuji/OpenESB Aquarium ParisProject Fuji/OpenESB Aquarium Paris
Project Fuji/OpenESB Aquarium Paris
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
JBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the UnionJBoss EAP / WildFly, State of the Union
JBoss EAP / WildFly, State of the Union
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
 
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
 
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla1512 Things About WebLogic 12.1.3 #oow2014 #otnla15
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
 
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
Deployment Best Practices on WebLogic Server (DOAG IMC Summit 2013)
 
Turn you Java EE Monoliths into Microservices with WildFly Swarm
Turn you Java EE Monoliths into Microservices with WildFly SwarmTurn you Java EE Monoliths into Microservices with WildFly Swarm
Turn you Java EE Monoliths into Microservices with WildFly Swarm
 
Java EE 6 Aquarium Paris
Java EE 6 Aquarium ParisJava EE 6 Aquarium Paris
Java EE 6 Aquarium Paris
 
WebLogic Administration course outline
WebLogic Administration course outlineWebLogic Administration course outline
WebLogic Administration course outline
 
Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3Nuxeo WebEngine and GlassFish v3
Nuxeo WebEngine and GlassFish v3
 
Conduct JBoss EAP 6 seminar
Conduct JBoss EAP 6 seminarConduct JBoss EAP 6 seminar
Conduct JBoss EAP 6 seminar
 
jboss.org-jboss.com
jboss.org-jboss.comjboss.org-jboss.com
jboss.org-jboss.com
 
Polygot Java EE on the GraalVM
Polygot Java EE on the GraalVMPolygot Java EE on the GraalVM
Polygot Java EE on the GraalVM
 
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
WildFly v9 - State of the Union Session at Voxxed, Istanbul, May/9th 2015.
 

Semelhante a Ausoug glassfish perth

Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dbaOsama Mustafa
 
What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3Bruno Borges
 
WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014Joelith
 
Ugf9796 weblogic for ebs and obiee
Ugf9796 weblogic for ebs and obieeUgf9796 weblogic for ebs and obiee
Ugf9796 weblogic for ebs and obieeBerry Clemens
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Berry Clemens
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011Arun Gupta
 
Oracle Weblogic for EBS and obiee (R12.2)
Oracle Weblogic for EBS and obiee (R12.2)Oracle Weblogic for EBS and obiee (R12.2)
Oracle Weblogic for EBS and obiee (R12.2)Berry Clemens
 
JVMs in Containers - Best Practices
JVMs in Containers - Best PracticesJVMs in Containers - Best Practices
JVMs in Containers - Best PracticesDavid Delabassee
 
JDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKJDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKWolfgang Weigend
 
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...jeckels
 
The Readiness of ADF Essentials for Public-facing Web Applications
The Readiness of ADF Essentials for Public-facing Web ApplicationsThe Readiness of ADF Essentials for Public-facing Web Applications
The Readiness of ADF Essentials for Public-facing Web ApplicationsLansenConsulting
 
Advanced Web Technology.pptx
Advanced Web Technology.pptxAdvanced Web Technology.pptx
Advanced Web Technology.pptxssuser35fdf2
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudJava EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudBruno Borges
 
Glassfish AP server 連結 oracle DB 11g
Glassfish AP server 連結 oracle DB 11gGlassfish AP server 連結 oracle DB 11g
Glassfish AP server 連結 oracle DB 11gHung-Yi Chen
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & designMark Swarbrick
 
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...Skytap Cloud
 
Selenoid
SelenoidSelenoid
SelenoidDataArt
 

Semelhante a Ausoug glassfish perth (20)

Weblogic 101 for dba
Weblogic  101 for dbaWeblogic  101 for dba
Weblogic 101 for dba
 
oraclewls-jrebel
oraclewls-jrebeloraclewls-jrebel
oraclewls-jrebel
 
What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3What's New and Noteworthy on Oracle CAF 12.1.3
What's New and Noteworthy on Oracle CAF 12.1.3
 
WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014WebLogic 12c - OMF Canberra June 2014
WebLogic 12c - OMF Canberra June 2014
 
Ugf9796 weblogic for ebs and obiee
Ugf9796 weblogic for ebs and obieeUgf9796 weblogic for ebs and obiee
Ugf9796 weblogic for ebs and obiee
 
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...Con11257 schifano con11257-best practices for deploying highly scalable virtu...
Con11257 schifano con11257-best practices for deploying highly scalable virtu...
 
JVMs in Containers
JVMs in ContainersJVMs in Containers
JVMs in Containers
 
Weblogic - clustering failover, and load balancing
Weblogic - clustering failover, and load balancingWeblogic - clustering failover, and load balancing
Weblogic - clustering failover, and load balancing
 
GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011GlassFish 3.1 at JCertif 2011
GlassFish 3.1 at JCertif 2011
 
Oracle Weblogic for EBS and obiee (R12.2)
Oracle Weblogic for EBS and obiee (R12.2)Oracle Weblogic for EBS and obiee (R12.2)
Oracle Weblogic for EBS and obiee (R12.2)
 
JVMs in Containers - Best Practices
JVMs in Containers - Best PracticesJVMs in Containers - Best Practices
JVMs in Containers - Best Practices
 
JDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDKJDK 8 and JDK 8 Updates in OpenJDK
JDK 8 and JDK 8 Updates in OpenJDK
 
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, O...
 
The Readiness of ADF Essentials for Public-facing Web Applications
The Readiness of ADF Essentials for Public-facing Web ApplicationsThe Readiness of ADF Essentials for Public-facing Web Applications
The Readiness of ADF Essentials for Public-facing Web Applications
 
Advanced Web Technology.pptx
Advanced Web Technology.pptxAdvanced Web Technology.pptx
Advanced Web Technology.pptx
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudJava EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The Cloud
 
Glassfish AP server 連結 oracle DB 11g
Glassfish AP server 連結 oracle DB 11gGlassfish AP server 連結 oracle DB 11g
Glassfish AP server 連結 oracle DB 11g
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & design
 
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...
Webinar: Build Better Software: Removing the Constraints Slowing Dev/Test Tea...
 
Selenoid
SelenoidSelenoid
Selenoid
 

Último

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Ausoug glassfish perth

  • 1. Glassfish & WebLogic Sibling Rivalry? Andrew Rosson – Solution Director - Middleware Lansen
  • 2. Agenda 1. The Oracle stables 2. Comparison debate 3. Conclusions
  • 3. Takeaways from today. • Glassfish is true contender and a sensible choice for Java development environments. – What helped? Clustering from v3.1 onwards. • WebLogic is Oracle’s Application Certified Server of choice to support the applications portfolio and the Fusion Middleware Stack. • GlassFish has a community (free) edition.
  • 4. Lansen Middleware 1. Java Application Servers 2. Unstructured Data 3. Application Development Product Specialties • • • • Oracle WebLogic, Oracle Glassfish, Oracle jRockit JVM, Oracle HotSpot JVM ____________________________________________ Lansen has a number of engineers who focus on this area and ensure the establishment, tuning and maintenance of the WebLogic or Glassfish application servers is done correctly and is aligned with the performance and architectural expectations of each customer.
  • 6. The Two Adopted Brothers
  • 7. Not Born of this House “The rivalry is with ourself. I try to be better than is possible. I fight against myself, not against the other.” Luciano Pavarotti
  • 8. Origins – The Oracle Stable • Oracle Application Server 10g, 10.1.3.5 – Formally Orion • Oracle Weblogic 11g, 10.3.6 – Formally BEA • Oracle Glassfish 3.1 – Formally SUN
  • 9. Market Share 2013 • WebLogic up from 10% in 2011 • Glassfish up from 8% in 2011 Source: http://zeroturnaround.com
  • 10. Glassfish4 - Released mid-2013 Oracle announced the availability of GlassFish Server Open Source Edition 4, the world's first Java EE 7 compatible application server. • GlassFish Server Open Source Edition 4.1 is scheduled for 2014 • GlassFish Server Open Source Edition 5 is the foundation for the Java EE 8 reference implementation “The primary role of GlassFish Server Open Source Edition has been, and continues to be, driving adoption of the latest release of the Java Platform, Enterprise Edition.” November 4th Update from Oracle. • Oracle will no longer provide GlassFish commercial support • Commercial Java EE 7 support will be provided from WebLogic Server • Oracle GlassFish Server will not be releasing a 4.x commercial version
  • 11. Comparison Points • • • • • • Download Architecture Administration & Configuration Deploy applications Performance Cost and Licencing
  • 12. Download • The download size differences are dramatic. 87Mb 1Gb Glassfish 3.1.2.2 ZIP Generic WebLogic 11g JAR 97Mb 880Mb Glassfish 4.0 ZIP Generic WebLogic 12c JAR 182Mb Generic WebLogic 12c ZIP
  • 13. Architecture - WebLogic • A machine is a virtual representation of the host. • Servers have their own directory structure • Applications are deployed from the $ServerName/stage directory into the onto the $ServerName/tmp/_WL_user directory Managed Server 1 Deployed & Runtime apps Admin Server With Domain Config Managed Server 2 Cluster Machine and Node Manager Domain
  • 14. Architecture - Glassfish • The node directory is separate from the domain directory • Applications are deployed from the $domains/$DomainName/applications directory to the $nodes/$NodeName/$InstanceName/applications directory Domain Config changes Instance 1 Deployed apps Instance 2 Cluster Runtime apps Admin Server (DAS) Node Domain
  • 15. Administration & Configuration • Both have Graphical UI’s. • Both provide a scripting interface. – Glassfish: asadmin – WebLogic: wlst
  • 20. Scripting tools [oracle@inpergf1 bin]$ ./asadmin Use "exit" to exit and "help" for online help. asadmin> list-domains domain1 not running Command list-domains executed successfully. asadmin> exit wls:/wcuat01_domain/serverConfig> nmEnroll(domainDir='/u02/projects/domains/wcuat01_domain',nmHome ='/u01/app/middleware/wlserver_10.3/common/nodemanager') wls:/wcuat01_domain/serverConfig> exit()
  • 21. Glassfish asadmin Utility [oracle@inpergf1 bin]$ ./asadmin Use "exit" to exit and "help" for online help. asadmin> list-domains domain1 not running Command list-domains executed successfully. asadmin> asadmin> start-domain domain1 Waiting for domain1 to start ........ Successfully started the domain : domain1 domain Location: /u01/app/glassfish3/glassfish/domains/domain1 Log File: /u01/app/glassfish3/glassfish/domains/domain1/logs/server.log Admin Port: 4848 Command start-domain executed successfully. asadmin>
  • 22. Glassfish asadmin Utility asadmin>deploy --user admin -W /tmp/admin_password.txt --target some_cluster --force true /var/some/project/application.ear Application deployed with name application Command deploy executed successfully. asadmin> asadmin>create-jdbc-resource --user admin -W /tmp/admin_password.txt -connectionpoolid jdbc/poolName --enabled true jdbc/jndiName domain1 Successfully created the jdbc resource: jdbc/jndiName Command create-jdbc-resource executed successfully. asadmin> asadmin> stop-domain domain1 Waiting for the domain to stop .... Command stop-domain executed successfully. asadmin>
  • 23. Admin & Config – Our findings Admin tasks. We use the asadmin utility 90% of the time. Jenkins: CI remote deployment easier than WebLogic Easy to set-up security realms • JDBC authentication way easier than WLS
  • 24. Deployment At Lansen we use a “Continuous Integration” automated deployment approach. An automated build compiles the code, runs the tests, and does anything that regularly needs to be done as part of the project’s build process.
  • 25. Deployment – How often? Average redeploy time. 4 times an hour. A developer spends 10.5 minutes an hour or 17.5% of total coding time – Redeploying!! 5.3 40-hour workweeks per year are spent exclusively redeploying and restarting. Source: http://zeroturnaround.com
  • 26. Deployment – How long? • WLS average redeploy time is 6% longer than Glassfish. • The choice of application server correlates to the time spent redeploying, – bigger application servers are not slower, – bigger applications influence the choice of application server.
  • 27. Deployment – Our findings ADF via jDeveloper • The deployment to WebLogic is smoother and overall quicker. Assisted with the Iterative Development page refresh utility. • The same app needs to be “ear-ed” and then deployed to Glassfish each time we change anything. • Makes CSS skinning and layout positioning very challenging. • There must be a PermGen size leak as we need to do a complete bounce of GlassFish @ each 5th deployment attempt. Java Application .ear or .war (not ADF) • Glassfish deployment is great for non-ADF deployments. High Availability • No side-by-side/rolling deployments option in GF.
  • 28. Performance Andrejus B’s ADF Performance Results • “ADF Essentials is certified on Glassfish server so we can run performance tests and compare ADF runtime performance on both Glassfish and WebLogic.” • Spoiler Alert** ADF runs faster on Glassfish server. “Probably because Glassfish server is much lighter compared to WebLogic and in turn executes the ADF runtime faster.” Source: http://andrejusb.blogspot.com.au/2012/10/adf-11g-r2-weblogic-1035-vs-adf.html
  • 29. Performance – Benchmark Test The ADF application contains two tabs. Stress test is recorded for each user to 1. navigate through records, 2. go to last/first record, 3. open long list LOV for Album Id Source: http://andrejusb.blogspot.com.au/2012/10/adf-11g-r2-weblogic-1035-vs-adf.html
  • 30. Performance - Benchmark Results • 25 concurrent users. • Glassfish: 0.8 seconds in average • WebLogic: 1.4 seconds in average Source: http://andrejusb.blogspot.com.au
  • 31. Performance – Benchmark Results • 50 concurrent users. • Glassfish: 8.7 seconds in average • WebLogic: 17.2 seconds in average Source: http://andrejusb.blogspot.com.au
  • 32. Performance – Our findings His results show WebLogic to be 2 x slower than Glassfish when running the same ADF application. Our tests. • We have not noticed such bad WLS results. • WLS: We manage consistent <2 second page times • GF: Closer to <4 seconds – Our GF cluster was not as substantial as our WLS one – It was also not optimized and highly tuned
  • 33. Cost & Licensing No FMW products are certified with Glassfish. Glassfish Community Edition: $Free GlassFish 4: $5000.00 / per CPU (List) Update Nov 4th: Now not available!! WebLogic EE: $25000.00 / per CPU (List)
  • 34. Conclusions Could you use WebLogic on your desktop and Glassfish in Production? Should you consider Glassfish for pure java projects? Should you consider Glassfish for your Production environment?

Notas do Editor

  1. Apache Tomcat and GlassFish are used in same types of project. Both are positioned as fully functional yet lightweight alternatives to the classic heavy application servers. Although Tomcat is popular but, GlassFish is growing in popularity in that market share.JBoss, Oracle Weblogic and IBM WebSphere compete for pretty much the same market segment. The majority of their projects are large and complex, and you will see their redeploy times reflect that.
  2. The average redeploy time is 4 times an hour.So, if a developer spends about 10.5 minutes an hour redeploying, this is about 17.5% of total coding time. Or 5.3 40-hour workweeks per year are spent exclusively redeploying and restarting.