Book Image

Building Applications with Scala

By : Diego Pacheco
Book Image

Building Applications with Scala

By: Diego Pacheco

Overview of this book

<p>Scala is known for incorporating both object-oriented and functional programming into a concise and extremely powerful package. However, creating an app in Scala can get a little tricky because of the complexity the language has. This book will help you dive straight into app development by creating a real, reactive, and functional application. We will provide you with practical examples and instructions using a hands-on approach that will give you a firm grounding in reactive functional principles.</p> <p>The book will take you through all the fundamentals of app development within Scala as you build an application piece by piece. We’ve made sure to incorporate everything you need from setting up to building reports and scaling architecture. This book also covers the most useful tools available in the Scala ecosystem, such as Slick, Play, and Akka, and a whole lot more. It will help you unlock the secrets of building your own up-to-date Scala application while maximizing performance and scalability.</p>
Table of Contents (17 chapters)
Building Applications with Scala
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface

Configuring MySQL Data Adapter in Jaspersoft Studio


Open Jaspersoft Studio 6 and click on File | New | Data Adapter Wizard. You will see the following screen:

File name should be MYSQL_DATAADAPTER.xml, and then you can click Next >.

Next, we will need to choose the type of database adapter. There are several options, such as Cassandra, MongoDB, HBase, JSON file, and so on.

We need to pick Database JDBC Connection and click Next >.

Now, we will need to configure the connection details.

The fields should be completed as follows:

  • Name:  MySQL

  • JDBC Driver:  com.mysql.jdbc.Driver

  • JDBC Url:  jdbc:mysql://localhost/RWS_DB?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC

  • Username:  root

  • Password:  This needs be blank, or put the password if you are using one.

We will also need to configure the driver into the Jaspersoft Studio classpath. As we are running the application in the same box, we already have the MySQL driver download...