I'm curious about the example applications in the book. Based on the table of contents it looks like they take up about two or three pages each and I wondered if any of them are "enterprise grade" (meaning they include examples of error/exception handling, logging, etc.) or if they are just meant as simple examples of the kind of things you can do in Scala.
SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
In the book I discuss how to handled exceptions, and the issues related
to it. I do not discuss logging in particular as I do not see anything
that needs to be discussed in particular for Scala. I do spend quite
a bit of time discussion integration with Java and unit testing (in
addition to concurrency of course), the concepts I think are very
important for developing any enterprise application on the JVM.
I do not intend the book to help develop enterprise application by
providing code that can be copied and pasted (and I don't think you
expect that either). However, I wrote the book in a way that programmers
can learn the essential concepts through the discussions and the
examples and will be able to develop their enterprise applications using
Joined: Oct 01, 2001
Thanks for the reply. I'm just wondering if the book is more for someone just getting started, or includes examples showing how you'd use Scala "in real life" - meaning in a business situation. I know you can call Java objects and make use of Java libraries, but I'm wondering if we get a peek at idiomatic Scala for business apps that need authentication, auditing, etc.
Joined: Jan 28, 2008
Nope, these are not my focus in book. Please look at the following two for details on the scope and focus:
This is indeed an interesting question. Irrespective of the book's content most examples on the www seem to be too easy for real world applications (not only for Scala of course). It's obvious that you should be able to do anything that would be possible with Java and more. But even as a Scala beginner I'm pretty sure you often have to change the way you think about a problem and its solution if you want to take advantage of Scala. On the other hand it's difficult to address the problems of a whole enterprise application in one book if you still want to cover different topics. Moreover it will probably take some time and experience to use Scala in practice effectively as the community is still quite small compared to the Java community.
Joined: Oct 01, 2001
Venkat Subramaniam wrote:Nope, these are not my focus in book. Please look at the following two for details on the scope and focus: