.NET for Java Developers
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > .NET for Java Developers: Migrating to C#
.NET for Java Developers: Migrating to C#

.NET for Java Developers: Migrating to C#


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

.NET for Java Developers is the definitive guide to leveraging your Java programming experience in the .NET environment. Understanding the similarities and differences between the C# and Java APIs enables Java programmers to quickly begin rapid application Windows development using C#. The numerous code examples, which have been tested using Visual Studio(R) .NET 2003 and Java 1.4, show readers how to create feature-rich .NET applications by translating Java coding practices into C#. The authors begin by detailing the .NET Framework and then immediately introduce readers to coding and the Visual Studio(R) .NET IDE. They compare the features of C# and Java, and provide a systematic analysis of how the two languages relate to each other. Readers cover the essentials of C# programming, from object creation to event programming, before moving into advanced areas, such as database access, XML processing, GUI programming, and reflection. Key topics that explain how to do smart C# programming rather than emulating Java code in C#: Database access Inheritance and polymorphism Thread programming Garbage collection and memory management C# application deployment Delegates Processing XML .N ET for Java Developers provides Java developers, programmers, and architects with experience-based advice for a successful transition into the .NET environment. 0672324024B06242003

Table of Contents:
Preface. I. C# ESSENTIALS. 1. The .NET Framework. What Is .NET? NET Framework Terminology and Core Concepts. CLR. Managed Code. MSIL. Assembly. Application Domain. Runtime Host. The Common Type System. Common Language Specification. CLR and the JVM. .NET MSIL. .NET JIT. The Java Virtual Machine. Memory Management. Garbage Collection in the CLR. Garbage Collection in the JVM. Security Management. Policy-Driven Security Based on Code Evidence. Role-Based Security, Authentication, and Authorization. Isolated Storage. Cryptography. Security in Java. Exception Management. Exception Management in the CLR. Exception Management in Java. Overview of the .NET Framework Class Library. Summary. Chapter 2 Starting with C#. The .NET SDK. Writing Your First C# Program. C# Performance. C# Tools. Visual Studio .NET. The Intermediate Language Disassembler. Summary. 3. C# and Java: What Is the Difference? Programming Platforms (.NET and Java). The Java Platform. The .NET Suite. The Presentation Layer. The Business Logic Layer. The Data Layer. Runtime Architecture. The JVM. The CLR. ASP.NET. Internet Explorer. Shell Executables. The OOP Model. Language Constructs, Syntax, and the API. Data Types. Operators. Control Flow Statements. Exception Support. Common Objects. Common Language Elements. Collections Library. Threading. Input/Output. Namespaces and Assemblies. What's Missing from Java? What's Missing from C#? Summary. 4. Writing Objects. Object Creation. The C# Equivalent of java.lang.Object. Classes. Class Modifiers. Class Access Modifiers and Inheritance. Constructors. Methods. public. protected. private. internal. static. sealed. extern. unsafe. virtual. override. abstract. new. Method Inheritance. Method Overloading. Method Parameters. Fields. public. private. protected. internal. const. readonly. static. BHEADS = volatile. Properties. Inheritance and Properties. Variable Scoping. Object Destruction. Summary. 5. Understanding Inheritance and Polymorphism. Inheritance. Polymorphism and Virtual Methods. Exploring C# Polymorphism. Using the virtual and override Keywords. Effects of Method Parameters and Conversion Rules. Methods and Inheritance. Access Modifiers. The base Keyword. Static Methods and Inheritance. Abstract Methods and Inheritance. Casting. Composition versus Inheritance. Summary. 6. Implementing Interfaces. Basic Interfaces. Differences between C# and Java Interfaces. Multiple Interfaces and Explicit Interface Declaration. Inheritance in Interfaces. The as Operator. Summary. 7. Data Types. The Java Value Type. The Java Reference Type. The C# Value Type. The struct Type. The enum Type. The Built-in Value Types. Built-in Integral Value Types. The Built-in Floating-Point Types. The Built-in Decimal Value Types. The Built-in Boolean Value Types. Explicit Conversions. The C# Reference Types. Boxing and Unboxing. Boxing. Unboxing. The typeof Operator. Unsafe Code. The Pointer Data Type. Summary. 8. Operators. Arithmetic Operators. Logical Operators. Bitwise Operators. The & Operator. The | Operator. The ^ Operator. The ~ Operator. String Concatenation Operators. The Increment and Decrement Operators. Shift Operators. The << Operator. The >> Operator. Relational Operators. The == Operator. The != Operator. The < Operator. The > Operator. The <= Operator. The >= Operator. Assignment Operators. The = Operator. The += Operator. The -= Operator. The *= Operator. The /= Operator. The %= Operator. The &= Operator. The |= Operator. The ^= Operator. The >>= Operator. The <<= Operator. The Member Access (Dot) Operator. The Casting Operator. The Indexing Operator. The Conditional Operator. Object Creation Operator. Type Information Operators. The is Operator. The as Operator. The sizeof Operator. The typeof Operator. Overflow Exception Control. The checked Operator. The unchecked Operator. Pointer Type Operators. Operator Precedence. Operator Overloading. Summary. 9. Essential Control Flow. The if Statement. The while Loop. The do while Loop. The for Loop. The switch Statement. The foreach Statement. Jump Statements. Summary. 10. Programming with Exceptions. Fundamentals of the try-catch-finally Construct. Custom Exceptions. Inheritance and Exceptions. CLR Exceptions. Design Considerations. Let It Throw. Catch, Clean Up, and Rethrow. Catch, Clean Up, and Rethrow as a Different Exception. Summary. 11. Working with Arrays. Java Versus C# Arrays. Java Arrays. C# Arrays. One-Dimensional Arrays. Multidimensional Arrays. Jagged Arrays. Copying Arrays. Arrays as Collections. Summary. 12. Processing Strings. The System.String Class. Initializing Strings. The + Operator and Strings. Regular Expressions. Summary. 13. Formatting Numbers, Strings, and Dates. Formatting. Number Formatting. Currency Formatting. Scientific Formatting. Number, Fixed-Point, and General Formatting. Percent Formatting. Custom Specifiers. Section, Hexadecimal, and Escaping Specifiers. Date and Time Formatting. Formatting Custom Objects. Parsing. Summary. 14. Using Collections. The System.Collections Interfaces. The System.Collections Classes. Thread Safety. Type Safety. Immutability. Accessibility. Using the System.Collections Classes. ArrayList. BitArray. Hashtable. Queue. BHEADS = Stack. SortedList. Icomparer. IhashCodeProvider. Ienumerator. Type-Safe Collections. Custom Collections. Summary. 15. Working with the C# I/O API. Streams. The FileStream Class. The BufferedStream Class. The MemoryStream Class. The NetworkStream Class. Readers and Writers. Files and Directories. AppendText. Exists, Copy, Move, and Delete. Open, OpenWrite, OpenText, and OpenRead. Asynchronous I/O. Serialization. Basic Serialization. Custom Serialization. Summary. 16. Thread Programming. The System.Threading Namespace. Creating Threads Using the System.Threading.Thread Class. Starting a Thread. The Life Cycle of a Thread. Stopping a Thread Safely in C#. Creating Threads Using the System.Threading.ThreadPool Class. Creating Threads Using the System.Threading.Timer Class. Creating Threads Using the Asynchronous Callback. Thread Synchronization. The ReaderWriterLock Class. Interlocked Operations. Summary. 17. Using C# Properties, Indexers, and Attributes. Properties. Indexers. Indexers with an Integer Index. Indexers with a String Index. Indexers with Multiple Indices. Attributes. Summary. 18. Delegates and Event Programming. Using Delegates. Multicasting. Event Programming. Summary. II. ADVANCED C# TOPICS. 19. Accessing Databases. Inside ADO.NET. JDBC 2.0+. Getting Started with ADO.NET. Establishing a Connection to the Database. Running a SELECT Query and Getting Data. Running an INSERT, UPDATE, or DELETE Query. Running a Stored Procedure. Processing Transactions. Exploring Database Metadata. DataSets. Loading Data into a DataSet. Saving Data to the RDBMS Using a DataSet. Summary. 20. Processing XML. XML Support in Java. XML and .NET. Reading and Writing XML. Reading XML in .NET. Writing XML in .NET. Using the DOM API in .NET. Xpath. XSLT. Summary. 21. GUI Programming in C#. Choosing a GUI Library: Java or .NET? Using the IDE to Develop a Small Application. Step 1: Creating a New Project. Step 2: Designing the Form. Step 3: Modifying the Form. Windows Forms, Component Controls, and Their Associated .NET Classes. Putting It All Together. What the Application Does. Source Files of the Application. The Application Controls. Anchoring and Docking. Anchoring. Docking. Drawing with .NET GUI Classes. System.Drawing. Double Buffering. Sample Drawing Program. Summary. 22. Reflection. The Core Reflection Classes. Browsing and Querying Members. Invoking Methods and Setting Fields and Properties. Generating Dynamic IL Using Reflection Emit. Summary. 23. Assemblies, Application Configuration, and Process Management. The .NET Assembly. The Assembly Manifest. Modules. Resources. Creating an Assembly. Programmatic Access to Assemblies. Versioning. Application Configuration. Single-Tag Section. Name/Value Section. Dictionary Section. A Sample Config File. Process Management. Querying the Current Application Domain. Executing an Application in a Remote Application Domain. Invoking a Method in a Remote Application Domain. Querying Processes. Creating and Killing Processes. Redirecting Process Output. Detecting Process Completion. Exiting a Process. Summary. Appendix: Java and C# API Comparison. The java.lang Package. The java.util Package. The java.io Package. The java.sql Package. The java.text Package. The org.w3c.dom Package. The javax.swing Package. The java.awt Package. Index.

About the Author :
Jawahar Puvvala is a consultant at Nucor Corporation in Charlotte, North Carolina, where he develops mission-critical server side and client side applications using cutting edge technology. His educational background is in writing software for mechanical and structural engineering systems, topics on which he has published scientific journal and conference articles. Alok Pota is a J2EE application developer at Digital Motorworks (DMi) in Austin, Texas, where he develops server side enterprise applications using J2EE technologies. His educational background is in writing scientific numerical analysis and visualization software in Visual C++, Visual Basic, and FORTRAN. Alok's published works include numerous scientific articles on mathematical modeling and expert systems. 0672324024AB06242003


Best Sellers


Product Details
  • ISBN-13: 9780672324024
  • Publisher: Pearson Education Limited
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Sub Title: Migrating to C#
  • ISBN-10: 0672324024
  • Publisher Date: 22 Jul 2003
  • Binding: Paperback
  • Returnable: N


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
.NET for Java Developers: Migrating to C#
Pearson Education Limited -
.NET for Java Developers: Migrating to C#
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

.NET for Java Developers: Migrating to C#

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!