Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Spring Boot - Ozgur Yazilim Gunleri '15

No description
by

Sezin Karli

on 26 March 2015

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Spring Boot - Ozgur Yazilim Gunleri '15

Features
Who is Sezin?
Outline
What is Spring Boot?
Features
Pros & Cons
Live Coding
Questions
What is Spring Boot?
"It makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". "
Pros & Cons
Great for fast start
No code generation
Questions?
Live Coding
Let's build a Website for best albums ever!
Spring Boot
Sezin Karlı
www.caught.co.nr
Creates stand-alone applications
Starter POMs to simplify Maven config
Automatically configures Spring
Stand-alone?
Fat JAR / WAR
Embedded application server
Auto-Configuration
Scan dependencies
Auto-configures when possible
Starter POMs
Template dependencies for several Spring projects
GOOD
BAD
Surprises due to auto-configuration
Auto-Configuration
ActiveMQ
Aop
Batch
Elasticsearch
Facebook
GroovyTemplate
HibernateJpa
HornetQ
Integration
Jms
Jmx
LinkedIn
Mongo
Redis
Security
Solr
Thymeleaf
Twitter
Velocity
WebMvc
Spring Boot
Spring MVC
Spring Data - JPA
Spring Data - MongoDB
AngularJS
Bootstrap
Saint Joseph
Yildiz Technical University
Sabanci University
Alcatel-Lucent
Sony Eurasia
Sahibinden.com
Batch
Data
MongoDB
Integration
Security
Web
Solr
Mail
Redis
Social
Mobile
Velocity
Autoconfiguration Example
public Client
elasticsearchClient
() {
return createClient();
}

private Client
createClient
() throws Exception {
if (StringUtils.hasLength(this.properties.getClusterNodes())) {
return createTransportClient();
}
return createNodeClient();
}

private Client
createTransportClient
() throws Exception {
TransportClientFactoryBean factory = new TransportClientFactoryBean();
factory.setClusterNodes(this.properties.getClusterNodes());
factory.setProperties(createProperties());
factory.afterPropertiesSet();
TransportClient client = factory.getObject();
this.releasable = client;
return client;
}
Full transcript