Skip to Content
Beginning Bazel: Building and Testing for Java, Go, and More
book

Beginning Bazel: Building and Testing for Java, Go, and More

by P.J. McNerney
December 2019
Beginner to intermediate
197 pages
3h 32m
English
Apress
Content preview from Beginning Bazel: Building and Testing for Java, Go, and More
© P.J. McNerney 2020
P. McNerneyBeginning Bazelhttps://doi.org/10.1007/978-1-4842-5194-2_5

5. A Simple Echo Client/Server Program

P. J. McNerney1 
(1)
Blackhawk, CO, USA
 

In the last chapter, you learned the basics of the WORKSPACE file, learning how to add external dependencies, including new languages. In this chapter, we are going to build off of that work to create a simple pair of programs, in different languages (one in Java, the other in Go), to round trip messages between the two of them.

Setting Up Your Workspace

Let’s create a new directory for our work:
$ mkdir chapter_05
$ cd chapter_05
chapter_05$ touch WORKSPACE
We are going to pull in the Go rules that we utilized in the last chapter. Open your newly created WORKSPACE file and add the following. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Jenkins 2.x Continuous Integration Cookbook - Third Edition

Mitesh Soni, Alan Mark Berg

Publisher Resources

ISBN: 9781484251942Purchase LinkPublisher Website