Java overview the piramide of success

1,191 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,191
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Java overview the piramide of success

  1. 1. Java overview:the pyramid of success Artem Bilan CS Ltd. Spring Integration commiter Email: clericsmail@gmail.com
  2. 2. Who is Artem Bilan Spring Integration Reference Manual Mark Fisher … Artem Bilan https://github.com/artembilan http://linkedin.com/in/clericcleric@csltd.com.ua http://forum.vingrad.ru/showuser-18365.html 2
  3. 3. Thorny path to the top 3
  4. 4. Agenda • Java syntax • Patterns • Swing • Messaging • Garbage collector • Scripting • Multi-Threading • Demo time • Data Bases • Summary & Questions • WEB • Development tools • Frameworks • WEB-Services 4
  5. 5. Let’s build our own pyramid! JAVA syntax 5
  6. 6. Java starts from sourcepublic static void main(String[] args) {...} public static <T> T argThat(Matcher<T> matcher) { return reportMatcher(matcher).<T>returnNull(); }@Entity@Table(name = ‘USERS)@SQLInsert(sql = insert into TMP_USERS (PASSWORD, LOGIN, ID) values (?, ?, ?))@AccessType(field)@XmlType(name = ‘User)class User extends BaseEntity<Long> { 6
  7. 7. Swing: the right way to start! 7
  8. 8. Swing: the right way to start! SwingComponents Java Syntax 8
  9. 9. Garbage collector & memory model -XX:+UseParallelGC -XX:+UseConcMarkSweepGC -XX:+UseG1GC 9
  10. 10. Garbage collector & memory model 10
  11. 11. Multi-Threading & Concurrency 11
  12. 12. Multi-Threading: Epic Fail 12
  13. 13. Multi-Threading & Concurrency Phaser ForkJoinPool ExecutorsAtomics Locks Volatile Synchronized 13
  14. 14. Data Bases: Persistence power Typical data issue From DB to Java Select * from orders Be clever! Think different! 14
  15. 15. Data Bases: Persistence power Hybrid solutions Key/Value MongoDB JPA Lucene XA Oracle DataSource Sql 15
  16. 16. WEB: Globalize yourself! 16
  17. 17. Development & build tools 17
  18. 18. WEB & Development tools Delicious results! 18
  19. 19. Frameworks: don’t reinvent the wheel! • Good solutions • New ideas Don’t afraid experiment • Right things at the right place + • DRY • KISS • Postal Low + 19
  20. 20. Spring - the power of application • Spring AMQP • Spring IDE • Spring Batch • Spring OSGi • Spring BlazeDS • Spring Rich Client • Spring Data • Spring Security • Spring Android • Spring Slices • Spring Hadoop • Spring Social • Spring GemFire • Spring Web Flow • Spring LDAP • Spring Web Services • Spring Mobile • Spring.NET • Spring Roo • Etc. • Spring Integration 20
  21. 21. JEE vs Spring VS VS VS 21
  22. 22. WEB-Services: Let’s start integrate! Business here Money there Everything in one place Integrate them all! 22
  23. 23. WEB-Services: Let’s start integrate! SOAP REST XML JSON Etc. Any with HTTP 23
  24. 24. WEB-Services: Let’s start integrate! You are the man 24
  25. 25. Patterns: developres’ langauge Singleton Factory Builder Bridge Strategy Adapter Observer Composite 25
  26. 26. Messaging is everywhere 26
  27. 27. Scripting & DSLs httpFlow { httpGet(url:{"http://google.com/search?q=$it"},Groovy responseType: String) }val httpFlow = http.GET[String]{ search: String => "http://google.com/search?q="+search Scala } <http:outbound-gateway http-method="GET" expected-response-type="java.lang.String" url="http://google.com/search?q={search}"XML request-channel="input"> <http:uri-variable name="search" expression="payload"/> </http:outbound-gateway> 27
  28. 28. There is no limit to perfection 28
  29. 29. Demo time ABS Client-Bank Oracle procedure Java WS iB2 POS JDBCProcessing Card-backoffice 29
  30. 30. Demo time Web Service Magic JAVA 30
  31. 31. Conclusions is an unlimited IT universe has growing community is a flexible platform helps business makes Internet closer 31
  32. 32. More info • Java Specification • Cay S. Horstmann • Joshua Bloch • Bruce Eckel • Martin Fowler • Spring Framework • Hibernate • EIP • Steve McConnell 33

×