The Leading eBooks Store Online 4,173,809 members ⚫ 1,357,844 ebooks

New to

Learn more

CodeNotes for J#

CodeNotes for J# by Gregory Brill
Buy this eBook
US$ 9.99
(If any tax is payable it will be calculated and shown at checkout.)
CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to understand it quickly and implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references.

CodeNotes for J# will introduce you to the J# language and demonstrate how Java language syntax can be used inside the .NET framework. In addition to basic J# syntax, this book provides an introduction to Windows Forms, ASP.NET, and Web Services; one chapter is dedicated to an extensive case study based on the Advanced Placement Computer Science program. Whether you are learning Java or simply want to apply your Java knowledge to the .NET framework, this book will get you started.

This edition of CodeNotes includes:

• A global overview of this technology and explanation of what problems it can be used to solve
• Real-world examples
• “How and Why” sections that provide hints, tricks, workarounds, and tips on what should be taken advantage of or avoided
• Instructions and classroom-style tutorials throughout from expert trainers and software developers

From the Trade Paperback edition.
Random House Publishing Group; July 2003
ISBN 9781588363459
Read online, or download in secure EPUB
Title: CodeNotes for J#
Author: Gregory Brill
Chapter 1

Java is an extremely popular, object-oriented programming language originally released by Sun Microsystems in 1995. Over the past eight years, its user base (and fan base) has grown steadily due to its simplicity and robustness, and it can be found inside everywhere from professional software development companies to businesses to high school and college classrooms.
With the release of .NET, Microsoft’s new framework for Windows software development, Microsoft has created an opportunity for Java developers to use the language they know, and yet take full advantage of the Microsoft Visual Studio Interactive Development Environment (VS.NET), which we will discuss later in this chapter. For the moment, you can think of Visual Studio .NET as a language-neutral development environment that assists you in writing code in any one of a number of languages. Regardless of the language you choose (J# in the case of this book) VS.NET will ultimately compile your code into a universal language called Microsoft Intermediate Language (MSIL). MSIL is very similar in principal to Java bytecode. However, MSIL has additional benefits in terms of cross-language development.
J# (pronounced jay-sharp) is the newest language to be supported by the Visual Studio .NET environment, and is essentially Java for the .NET framework. Not only does J# allow Java developers to program comfortably within the Microsoft Integrated Development Environment (IDE), it also allows them to take full advantage of the extensive libraries and capabilities inherent in the .NET framework. Like any .NET language, J# can be used to write ASP.NET (Active Server Pages for web applications, covered in Chapter 5) applications, web services (Chapter 6), ADO.NET data applications(Chapter 8), and a host of other.NET target types. Keep in mind that the J# compiler understands the Java language, but ultimately compiles it to MSIL (instead of the bytecode you may be used to). Thus, the front end is Java, but the compiled results run on the Microsoft .NET framework as opposed to a Java Virtual machine. We will look at the similarities and differences between the Java framework and the .NET framework later in this chapter.
In this book we will look at how you, as a Java developer, can take advantage of J# and Visual Studio .NET to create Windows and web applications quickly. We will begin by examining the basics of the J# language. If you already know Java, these basics will be completely familiar. We will then examine how you can design graphical user interfaces (GUIs) for your applications using Windows forms and controls. We will also look at how J# can be used with ASP.NET to develop web applications, and .NET Web Services, which allow two applications to communicate with one another over the Internet using language-neutral protocols. Finally, we will apply what we have learned in this book to a major case study currently used in the Advanced Placement (AP) Computer Science Program common to many high schools (Chapter 7), and show how a traditional Java application can be extended using the features of Visual Studio .NET.
Please remember that this book is not intended as an introduction to the Java programming language, although we will briefly review the basics in Chapter 3. For the most part, we will assume that the reader has at least some knowledge of basic Java syntax and structure, and some experience in standard programming practices.

From the Trade Paperback edition.
  • News
Trump's Friend Robert Kiyosaki — 'Most Patriotic Thing You Can Do' - The Inquisitr
Sun, 09 Oct 2016 18:07:28 -0700
The InquisitrTrump's Friend Robert Kiyosaki — 'Most Patriotic Thing You Can Do'The InquisitrThe following article ...
Arbitrator Disclosure Vs. Evident Partiality - Law360 (subscription)
Tue, 27 Sep 2016 08:34:28 -0700
Arbitrator Disclosure Vs. Evident PartialityLaw360 (subscription)Arbitral institutions strive to provide the parties they serve ...
These are The Lessons You Missed at #WomenColorTech - AlleyWatch
Wed, 17 Aug 2016 06:27:39 -0700
AlleyWatchThese are The Lessons You Missed at #WomenColorTechAlleyWatchAs I write this article, they are passionately working ...