Scala for Java developers :: build reactive, scalable applications and integrate Java code with the power of Scala /
This step-by-step guide is full of easy-to-follow code taken from real-world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EE-based solutions and want to start using Scala in your daily programming, this...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2014.
|
Schriftenreihe: | Community experience distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | This step-by-step guide is full of easy-to-follow code taken from real-world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EE-based solutions and want to start using Scala in your daily programming, this book is ideal for you. This book will get you up and running quickly by adopting a pragmatic approach with real-world code samples. No prior knowledge of Scala is required. |
Beschreibung: | 1 online resource |
ISBN: | 9781783283644 1783283645 1306708869 9781306708869 |
Internformat
MARC
LEADER | 00000cam a2200000 a 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn878918322 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 140502s2014 enk o 000 0 eng d | ||
040 | |a IDEBK |b eng |e pn |c IDEBK |d MHW |d EBLCP |d N$T |d E7B |d UMI |d DEBSZ |d DEBBG |d OCLCQ |d COO |d OCLCF |d OCLCQ |d YDXCP |d OCLCQ |d TEFOD |d OCLCQ |d D6H |d AZK |d AGLDB |d OCLCQ |d ICA |d OCLCQ |d MOR |d PIFAG |d ZCU |d MERUC |d OCLCQ |d U3W |d REB |d STF |d VTS |d CEF |d ICG |d NLE |d INT |d VT2 |d UKMGB |d OCLCQ |d WYU |d G3B |d TKN |d OCLCQ |d UAB |d DKC |d AU@ |d OCLCQ |d M8D |d HS0 |d OCLCQ |d OCLCO |d QGK |d OCLCQ |d OCLCO |d OCLCL |d SXB |d OCLCQ | ||
016 | 7 | |a 018006523 |2 Uk | |
019 | |a 880640814 |a 881399545 |a 961589654 |a 1259103414 | ||
020 | |a 9781783283644 |q (electronic bk.) | ||
020 | |a 1783283645 |q (electronic bk.) | ||
020 | |a 1306708869 |q (electronic bk.) | ||
020 | |a 9781306708869 |q (electronic bk.) | ||
020 | |z 1783283637 | ||
020 | |z 9781783283637 | ||
035 | |a (OCoLC)878918322 |z (OCoLC)880640814 |z (OCoLC)881399545 |z (OCoLC)961589654 |z (OCoLC)1259103414 | ||
037 | |a CL0500000436 |b Safari Books Online | ||
037 | |a 012D7304-6E3C-4CA3-AEFB-CC1D8465E3F9 |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.73 .S28 | |
072 | 7 | |a COM |x 051280 |2 bisacsh | |
082 | 7 | |a 005.133 |2 22 | |
049 | |a MAIN | ||
100 | 1 | |a Alexandre, Thomas, |e author. | |
245 | 1 | 0 | |a Scala for Java developers : |b build reactive, scalable applications and integrate Java code with the power of Scala / |c Thomas Alexandre. |
260 | |a Birmingham, UK : |b Packt Publishing, |c 2014. | ||
300 | |a 1 online resource | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
490 | 1 | |a Community experience distilled | |
588 | 0 | |a Print version record. | |
520 | |a This step-by-step guide is full of easy-to-follow code taken from real-world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EE-based solutions and want to start using Scala in your daily programming, this book is ideal for you. This book will get you up and running quickly by adopting a pragmatic approach with real-world code samples. No prior knowledge of Scala is required. | ||
505 | 0 | |a Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Programming Interactively within Your Project; Advantages of using Scala for Java projects; More concise and expressive; Increased productivity; Natural evolution from Java; Better fit for asynchronous and concurrent code; Learning Scala through the REPL; Declaring val/var variables; Defining classes; Explaining case classes; Operations on collections; Transforming collections containing primitive types; Collections of more complex objects; Filter and partition | |
505 | 8 | |a Dealing with tuplesIntroducing Map; Introducing the Option construct; A glimpse at pattern matching; The map method; Looking at String Interpolation; The groupBy method; The foldLeft method; Summary; Chapter 2: Code Integration; Creating a REST API from an existing database; The sample database; Setting up a Maven project; Creating JPA entities and REST web service; Running and testing the project; Adding a test in Scala; Setting up Scala within a Java Maven project; Scala and Java collaboration; Converting between collection types; JavaBean-style properties; Scala and Java object orientation | |
505 | 8 | |a Scala traits as enhanced Java interfacesDeclaring objects; Introducing companion objects; Handling exceptions; Differences in style between Java and Scala code; Adjusting the code layout; Naming conventions; Summary; Chapter 3: Understanding the Scala Ecosystem; Inheriting Java Integrated Development Environments (IDEs); Building with Simple Build Tool (SBT); Getting started with SBT; Creating a sample project; Importing the project in Eclipse, IntelliJ IDEA, and NetBeans; Creating a web application that runs on a servlet container; Using sbt-assembly to build a single .jar archive | |
505 | 8 | |a Formatting code with ScalariformExperimenting with Scala Worksheets; Working with HTTP; Scala's for comprehension; Taking advantage of Typesafe Activator; Creating an application based on activator templates; The REPL as a scripting engine; Summary; Chapter 4: Testing Tools; Writing tests with ScalaTest; BDD-style testing; Functional testing; Mocking with ScalaMock; Testing with ScalaCheck; Summary; Chapter 5: Getting Started with the Play Framework; Getting started with the classic Play distribution; Getting started with the Typesafe Activator; Architecture of a Play application | |
505 | 8 | |a Visualizing the framework stackExploring the request-response lifecycle; Handling a request in the controller; Rendering the view; Playing with authentication; Practical tips when using Play; Debugging with Play; Dealing with version control; Summary; Chapter 6: Database Access and the Future of ORM; Integrating an existing ORM -- Hibernate and JPA; Making JPA available in Scala; Dealing with persistence in the Play Framework; A simple example using Anorm; Replacing ORM; Learning about Slick; Scaffolding a Play application; Importing test data; Visualizing the database in the H2-browser | |
546 | |a English. | ||
650 | 0 | |a Scala (Computer program language) |0 http://id.loc.gov/authorities/subjects/sh2010013203 | |
650 | 6 | |a Scala (Langage de programmation) | |
650 | 7 | |a COMPUTERS |x Programming Languages |x Java. |2 bisacsh | |
650 | 7 | |a Scala (Computer program language) |2 fast | |
758 | |i has work: |a Scala for Java developers (Text) |1 https://id.oclc.org/worldcat/entity/E39PCGjvpFgwxm99vQ7WdBQ6rq |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | 0 | 8 | |i Print version: |a Alexandre, Thomas. |t Scala for Java Developers. |d Packt Publishing 2014 |z 1306708869 |
830 | 0 | |a Community experience distilled. |0 http://id.loc.gov/authorities/names/no2011030603 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=771466 |3 Volltext |
938 | |a EBL - Ebook Library |b EBLB |n EBL1644010 | ||
938 | |a ebrary |b EBRY |n ebr10868169 | ||
938 | |a EBSCOhost |b EBSC |n 771466 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis28268646 | ||
938 | |a YBP Library Services |b YANK |n 11800712 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn878918322 |
---|---|
_version_ | 1816882270849466368 |
adam_text | |
any_adam_object | |
author | Alexandre, Thomas |
author_facet | Alexandre, Thomas |
author_role | aut |
author_sort | Alexandre, Thomas |
author_variant | t a ta |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73 .S28 |
callnumber-search | QA76.73 .S28 |
callnumber-sort | QA 276.73 S28 |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Programming Interactively within Your Project; Advantages of using Scala for Java projects; More concise and expressive; Increased productivity; Natural evolution from Java; Better fit for asynchronous and concurrent code; Learning Scala through the REPL; Declaring val/var variables; Defining classes; Explaining case classes; Operations on collections; Transforming collections containing primitive types; Collections of more complex objects; Filter and partition Dealing with tuplesIntroducing Map; Introducing the Option construct; A glimpse at pattern matching; The map method; Looking at String Interpolation; The groupBy method; The foldLeft method; Summary; Chapter 2: Code Integration; Creating a REST API from an existing database; The sample database; Setting up a Maven project; Creating JPA entities and REST web service; Running and testing the project; Adding a test in Scala; Setting up Scala within a Java Maven project; Scala and Java collaboration; Converting between collection types; JavaBean-style properties; Scala and Java object orientation Scala traits as enhanced Java interfacesDeclaring objects; Introducing companion objects; Handling exceptions; Differences in style between Java and Scala code; Adjusting the code layout; Naming conventions; Summary; Chapter 3: Understanding the Scala Ecosystem; Inheriting Java Integrated Development Environments (IDEs); Building with Simple Build Tool (SBT); Getting started with SBT; Creating a sample project; Importing the project in Eclipse, IntelliJ IDEA, and NetBeans; Creating a web application that runs on a servlet container; Using sbt-assembly to build a single .jar archive Formatting code with ScalariformExperimenting with Scala Worksheets; Working with HTTP; Scala's for comprehension; Taking advantage of Typesafe Activator; Creating an application based on activator templates; The REPL as a scripting engine; Summary; Chapter 4: Testing Tools; Writing tests with ScalaTest; BDD-style testing; Functional testing; Mocking with ScalaMock; Testing with ScalaCheck; Summary; Chapter 5: Getting Started with the Play Framework; Getting started with the classic Play distribution; Getting started with the Typesafe Activator; Architecture of a Play application Visualizing the framework stackExploring the request-response lifecycle; Handling a request in the controller; Rendering the view; Playing with authentication; Practical tips when using Play; Debugging with Play; Dealing with version control; Summary; Chapter 6: Database Access and the Future of ORM; Integrating an existing ORM -- Hibernate and JPA; Making JPA available in Scala; Dealing with persistence in the Play Framework; A simple example using Anorm; Replacing ORM; Learning about Slick; Scaffolding a Play application; Importing test data; Visualizing the database in the H2-browser |
ctrlnum | (OCoLC)878918322 |
dewey-full | 005.133 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.133 |
dewey-search | 005.133 |
dewey-sort | 15.133 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>06383cam a2200649 a 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn878918322</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">140502s2014 enk o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">IDEBK</subfield><subfield code="b">eng</subfield><subfield code="e">pn</subfield><subfield code="c">IDEBK</subfield><subfield code="d">MHW</subfield><subfield code="d">EBLCP</subfield><subfield code="d">N$T</subfield><subfield code="d">E7B</subfield><subfield code="d">UMI</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">DEBBG</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">COO</subfield><subfield code="d">OCLCF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">YDXCP</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">TEFOD</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">D6H</subfield><subfield code="d">AZK</subfield><subfield code="d">AGLDB</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">ICA</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">MOR</subfield><subfield code="d">PIFAG</subfield><subfield code="d">ZCU</subfield><subfield code="d">MERUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">U3W</subfield><subfield code="d">REB</subfield><subfield code="d">STF</subfield><subfield code="d">VTS</subfield><subfield code="d">CEF</subfield><subfield code="d">ICG</subfield><subfield code="d">NLE</subfield><subfield code="d">INT</subfield><subfield code="d">VT2</subfield><subfield code="d">UKMGB</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">WYU</subfield><subfield code="d">G3B</subfield><subfield code="d">TKN</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UAB</subfield><subfield code="d">DKC</subfield><subfield code="d">AU@</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">M8D</subfield><subfield code="d">HS0</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield><subfield code="d">SXB</subfield><subfield code="d">OCLCQ</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018006523</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">880640814</subfield><subfield code="a">881399545</subfield><subfield code="a">961589654</subfield><subfield code="a">1259103414</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781783283644</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1783283645</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1306708869</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781306708869</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1783283637</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781783283637</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)878918322</subfield><subfield code="z">(OCoLC)880640814</subfield><subfield code="z">(OCoLC)881399545</subfield><subfield code="z">(OCoLC)961589654</subfield><subfield code="z">(OCoLC)1259103414</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000436</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">012D7304-6E3C-4CA3-AEFB-CC1D8465E3F9</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.73 .S28</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051280</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.133</subfield><subfield code="2">22</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Alexandre, Thomas,</subfield><subfield code="e">author.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Scala for Java developers :</subfield><subfield code="b">build reactive, scalable applications and integrate Java code with the power of Scala /</subfield><subfield code="c">Thomas Alexandre.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2014.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Print version record.</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">This step-by-step guide is full of easy-to-follow code taken from real-world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EE-based solutions and want to start using Scala in your daily programming, this book is ideal for you. This book will get you up and running quickly by adopting a pragmatic approach with real-world code samples. No prior knowledge of Scala is required.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Programming Interactively within Your Project; Advantages of using Scala for Java projects; More concise and expressive; Increased productivity; Natural evolution from Java; Better fit for asynchronous and concurrent code; Learning Scala through the REPL; Declaring val/var variables; Defining classes; Explaining case classes; Operations on collections; Transforming collections containing primitive types; Collections of more complex objects; Filter and partition</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Dealing with tuplesIntroducing Map; Introducing the Option construct; A glimpse at pattern matching; The map method; Looking at String Interpolation; The groupBy method; The foldLeft method; Summary; Chapter 2: Code Integration; Creating a REST API from an existing database; The sample database; Setting up a Maven project; Creating JPA entities and REST web service; Running and testing the project; Adding a test in Scala; Setting up Scala within a Java Maven project; Scala and Java collaboration; Converting between collection types; JavaBean-style properties; Scala and Java object orientation</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Scala traits as enhanced Java interfacesDeclaring objects; Introducing companion objects; Handling exceptions; Differences in style between Java and Scala code; Adjusting the code layout; Naming conventions; Summary; Chapter 3: Understanding the Scala Ecosystem; Inheriting Java Integrated Development Environments (IDEs); Building with Simple Build Tool (SBT); Getting started with SBT; Creating a sample project; Importing the project in Eclipse, IntelliJ IDEA, and NetBeans; Creating a web application that runs on a servlet container; Using sbt-assembly to build a single .jar archive</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Formatting code with ScalariformExperimenting with Scala Worksheets; Working with HTTP; Scala's for comprehension; Taking advantage of Typesafe Activator; Creating an application based on activator templates; The REPL as a scripting engine; Summary; Chapter 4: Testing Tools; Writing tests with ScalaTest; BDD-style testing; Functional testing; Mocking with ScalaMock; Testing with ScalaCheck; Summary; Chapter 5: Getting Started with the Play Framework; Getting started with the classic Play distribution; Getting started with the Typesafe Activator; Architecture of a Play application</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Visualizing the framework stackExploring the request-response lifecycle; Handling a request in the controller; Rendering the view; Playing with authentication; Practical tips when using Play; Debugging with Play; Dealing with version control; Summary; Chapter 6: Database Access and the Future of ORM; Integrating an existing ORM -- Hibernate and JPA; Making JPA available in Scala; Dealing with persistence in the Play Framework; A simple example using Anorm; Replacing ORM; Learning about Slick; Scaffolding a Play application; Importing test data; Visualizing the database in the H2-browser</subfield></datafield><datafield tag="546" ind1=" " ind2=" "><subfield code="a">English.</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Scala (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2010013203</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Scala (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Programming Languages</subfield><subfield code="x">Java.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Scala (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Scala for Java developers (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCGjvpFgwxm99vQ7WdBQ6rq</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Alexandre, Thomas.</subfield><subfield code="t">Scala for Java Developers.</subfield><subfield code="d">Packt Publishing 2014</subfield><subfield code="z">1306708869</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Community experience distilled.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011030603</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=771466</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBL - Ebook Library</subfield><subfield code="b">EBLB</subfield><subfield code="n">EBL1644010</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ebrary</subfield><subfield code="b">EBRY</subfield><subfield code="n">ebr10868169</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">771466</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest MyiLibrary Digital eBook Collection</subfield><subfield code="b">IDEB</subfield><subfield code="n">cis28268646</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">YBP Library Services</subfield><subfield code="b">YANK</subfield><subfield code="n">11800712</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn878918322 |
illustrated | Not Illustrated |
indexdate | 2024-11-27T13:25:57Z |
institution | BVB |
isbn | 9781783283644 1783283645 1306708869 9781306708869 |
language | English |
oclc_num | 878918322 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource |
psigel | ZDB-4-EBA |
publishDate | 2014 |
publishDateSearch | 2014 |
publishDateSort | 2014 |
publisher | Packt Publishing, |
record_format | marc |
series | Community experience distilled. |
series2 | Community experience distilled |
spelling | Alexandre, Thomas, author. Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / Thomas Alexandre. Birmingham, UK : Packt Publishing, 2014. 1 online resource text txt rdacontent computer c rdamedia online resource cr rdacarrier Community experience distilled Print version record. This step-by-step guide is full of easy-to-follow code taken from real-world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EE-based solutions and want to start using Scala in your daily programming, this book is ideal for you. This book will get you up and running quickly by adopting a pragmatic approach with real-world code samples. No prior knowledge of Scala is required. Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Programming Interactively within Your Project; Advantages of using Scala for Java projects; More concise and expressive; Increased productivity; Natural evolution from Java; Better fit for asynchronous and concurrent code; Learning Scala through the REPL; Declaring val/var variables; Defining classes; Explaining case classes; Operations on collections; Transforming collections containing primitive types; Collections of more complex objects; Filter and partition Dealing with tuplesIntroducing Map; Introducing the Option construct; A glimpse at pattern matching; The map method; Looking at String Interpolation; The groupBy method; The foldLeft method; Summary; Chapter 2: Code Integration; Creating a REST API from an existing database; The sample database; Setting up a Maven project; Creating JPA entities and REST web service; Running and testing the project; Adding a test in Scala; Setting up Scala within a Java Maven project; Scala and Java collaboration; Converting between collection types; JavaBean-style properties; Scala and Java object orientation Scala traits as enhanced Java interfacesDeclaring objects; Introducing companion objects; Handling exceptions; Differences in style between Java and Scala code; Adjusting the code layout; Naming conventions; Summary; Chapter 3: Understanding the Scala Ecosystem; Inheriting Java Integrated Development Environments (IDEs); Building with Simple Build Tool (SBT); Getting started with SBT; Creating a sample project; Importing the project in Eclipse, IntelliJ IDEA, and NetBeans; Creating a web application that runs on a servlet container; Using sbt-assembly to build a single .jar archive Formatting code with ScalariformExperimenting with Scala Worksheets; Working with HTTP; Scala's for comprehension; Taking advantage of Typesafe Activator; Creating an application based on activator templates; The REPL as a scripting engine; Summary; Chapter 4: Testing Tools; Writing tests with ScalaTest; BDD-style testing; Functional testing; Mocking with ScalaMock; Testing with ScalaCheck; Summary; Chapter 5: Getting Started with the Play Framework; Getting started with the classic Play distribution; Getting started with the Typesafe Activator; Architecture of a Play application Visualizing the framework stackExploring the request-response lifecycle; Handling a request in the controller; Rendering the view; Playing with authentication; Practical tips when using Play; Debugging with Play; Dealing with version control; Summary; Chapter 6: Database Access and the Future of ORM; Integrating an existing ORM -- Hibernate and JPA; Making JPA available in Scala; Dealing with persistence in the Play Framework; A simple example using Anorm; Replacing ORM; Learning about Slick; Scaffolding a Play application; Importing test data; Visualizing the database in the H2-browser English. Scala (Computer program language) http://id.loc.gov/authorities/subjects/sh2010013203 Scala (Langage de programmation) COMPUTERS Programming Languages Java. bisacsh Scala (Computer program language) fast has work: Scala for Java developers (Text) https://id.oclc.org/worldcat/entity/E39PCGjvpFgwxm99vQ7WdBQ6rq https://id.oclc.org/worldcat/ontology/hasWork Print version: Alexandre, Thomas. Scala for Java Developers. Packt Publishing 2014 1306708869 Community experience distilled. http://id.loc.gov/authorities/names/no2011030603 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=771466 Volltext |
spellingShingle | Alexandre, Thomas Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / Community experience distilled. Cover; Copyright; Credits; Foreword; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Programming Interactively within Your Project; Advantages of using Scala for Java projects; More concise and expressive; Increased productivity; Natural evolution from Java; Better fit for asynchronous and concurrent code; Learning Scala through the REPL; Declaring val/var variables; Defining classes; Explaining case classes; Operations on collections; Transforming collections containing primitive types; Collections of more complex objects; Filter and partition Dealing with tuplesIntroducing Map; Introducing the Option construct; A glimpse at pattern matching; The map method; Looking at String Interpolation; The groupBy method; The foldLeft method; Summary; Chapter 2: Code Integration; Creating a REST API from an existing database; The sample database; Setting up a Maven project; Creating JPA entities and REST web service; Running and testing the project; Adding a test in Scala; Setting up Scala within a Java Maven project; Scala and Java collaboration; Converting between collection types; JavaBean-style properties; Scala and Java object orientation Scala traits as enhanced Java interfacesDeclaring objects; Introducing companion objects; Handling exceptions; Differences in style between Java and Scala code; Adjusting the code layout; Naming conventions; Summary; Chapter 3: Understanding the Scala Ecosystem; Inheriting Java Integrated Development Environments (IDEs); Building with Simple Build Tool (SBT); Getting started with SBT; Creating a sample project; Importing the project in Eclipse, IntelliJ IDEA, and NetBeans; Creating a web application that runs on a servlet container; Using sbt-assembly to build a single .jar archive Formatting code with ScalariformExperimenting with Scala Worksheets; Working with HTTP; Scala's for comprehension; Taking advantage of Typesafe Activator; Creating an application based on activator templates; The REPL as a scripting engine; Summary; Chapter 4: Testing Tools; Writing tests with ScalaTest; BDD-style testing; Functional testing; Mocking with ScalaMock; Testing with ScalaCheck; Summary; Chapter 5: Getting Started with the Play Framework; Getting started with the classic Play distribution; Getting started with the Typesafe Activator; Architecture of a Play application Visualizing the framework stackExploring the request-response lifecycle; Handling a request in the controller; Rendering the view; Playing with authentication; Practical tips when using Play; Debugging with Play; Dealing with version control; Summary; Chapter 6: Database Access and the Future of ORM; Integrating an existing ORM -- Hibernate and JPA; Making JPA available in Scala; Dealing with persistence in the Play Framework; A simple example using Anorm; Replacing ORM; Learning about Slick; Scaffolding a Play application; Importing test data; Visualizing the database in the H2-browser Scala (Computer program language) http://id.loc.gov/authorities/subjects/sh2010013203 Scala (Langage de programmation) COMPUTERS Programming Languages Java. bisacsh Scala (Computer program language) fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh2010013203 |
title | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / |
title_auth | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / |
title_exact_search | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / |
title_full | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / Thomas Alexandre. |
title_fullStr | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / Thomas Alexandre. |
title_full_unstemmed | Scala for Java developers : build reactive, scalable applications and integrate Java code with the power of Scala / Thomas Alexandre. |
title_short | Scala for Java developers : |
title_sort | scala for java developers build reactive scalable applications and integrate java code with the power of scala |
title_sub | build reactive, scalable applications and integrate Java code with the power of Scala / |
topic | Scala (Computer program language) http://id.loc.gov/authorities/subjects/sh2010013203 Scala (Langage de programmation) COMPUTERS Programming Languages Java. bisacsh Scala (Computer program language) fast |
topic_facet | Scala (Computer program language) Scala (Langage de programmation) COMPUTERS Programming Languages Java. |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=771466 |
work_keys_str_mv | AT alexandrethomas scalaforjavadevelopersbuildreactivescalableapplicationsandintegratejavacodewiththepowerofscala |