چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Beginning NetBeans IDE : For Java Developers

Geertjan Wielenga (auth.)

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

سال انتشار
۲۰۱۵
فرمت
PDF
زبان
انگلیسی
حجم فایل
۱۷٫۸ مگابایت
شابک
9781484212578، 9781484212585، 1484212576، 1484212584

دربارهٔ کتاب

Beginning NetBeans IDE is your authoritative tutorial for learning and using the open source NetBeans IDE platform backed by Oracle. Written by a NetBeans product manager at Oracle, Geertjan Wielenga shows you what NetBeans really is all about and how to install and set it up. Then, right away, he shows you how to write your first simple NetBeans Java application. In this book, you get a tour of the various, essential and key NetBeans wizards and plug-ins. Then, you start building a more complex Java-based application using the NetBeans IDE. And, you learn how to improve that application by exploring the NetBeans refactoring, testing/debugging, profiling and distribution tools. After reading and using this tutorial, you'll come away with a working case study that you can re-apply as a template for your own specific needs. You'll have an understanding of the key essentials of the popular NetBeans IDE. Contents at a Glance 5 Contents 6 About the Author 12 About the Technical Reviewer 13 About the Illustrator 14 Acknowledgments 15 Foreword 16 Preface 18 Introduction 19 Chapter 1: Installing and Setting Up 21 What Is NetBeans IDE ? 21 Advantages of the IDE 22 Downloading the IDE 22 Installing the IDE 24 Using Mac OSX 31 Chapter 2: Getting Started 34 Hello World 34 Exploring the IDE 40 Project Views 41 File Views 42 Hierarchy Views 42 Service Views 43 Supporting Views 44 Output Window 44 Properties Window 44 Action Items Window 45 Tasks Window 45 Notifications Window 47 Chapter 3: Java Editor 49 Overview 49 Getting Started 50 Opening a File 50 Opening a File Without a Project 52 Reconfiguring the Source Editor 53 Changing Keyboard Shortcuts, Fonts, and Colors 55 Comparing Differences Between Two Files 62 Typing 63 Finishing and Concatenating 63 Matching Other Words in a File 64 Text Selection Shortcuts 64 Macros 65 Code Snippets 66 Code Completion 67 Code Completion Tricks 70 Customizing Settings for Code Completion 71 Templates 73 Code Templates 74 Adding, Changing, and Removing Code Templates 74 Code Template Syntax 75 Changing the Expander Shortcut for Code Templates 76 File Templates 76 Java Hints 78 Java Members 80 Implements and Overrides 80 JavaBeans 81 Imports 81 Javadoc 82 Formatting 82 Indenting Blocks of Code Manually 83 Changing Formatting Rules 83 Navigation 84 Navigating Within the Current Java File 85 Viewing and Navigating Members of a Class 85 Moving the Insertion Point and Scrolling the Window 86 Customizing Code Folds 86 Hiding Sections of Code 87 Bookmarking Lines of Code 88 Navigating from the Source Editor 89 Switching Between Open Files 89 Jumping to Related Code and Documentation 90 Jumping Between Areas Where You Have Been Working 91 Jumping from the Source Editor to a File’s Node 91 Search and Replace 92 Finding Usages 92 Renaming 93 Finding 95 Replacing 95 Other File Searches 96 Tracking Notes 97 Adding, Removing, and Changing Action Item Tags 98 Filtering Action Items 99 Chapter 4: Using Wizards and Plugins 101 Overview 101 General 103 Application Structure 103 Project Groups 104 Viewing Java Packages 105 Comprehensive Service Integration 105 Plugin Manager 106 Java SE 108 Java EE 111 Embedded 114 Cloud 115 Chapter 5: Putting the Pieces Together 118 Setting Up 118 Creating the Java EE Server Application 121 Generating JPA Entity Classes 124 Exposing Data to Frontend Clients 130 Generate JSF Pages from Entity Classes 130 Generate RESTful Web Services from Entity Classes 131 Generate RESTful JavaScript Clients from RESTful Web Services 132 Deploying the Application 133 Chapter 6: Analysis and Refactoring 138 Analysis 139 Manual Refactoring 155 Deleting Code Safely 157 Changing a Method’s Signature 159 Encapsulati ng a Field 160 Moving a Class to a Different Package 162 Moving Class Members to Other Classes 164 Moving Code to a Superclass 164 Moving Code to Subclasses 166 Creating a Method from Existing Statements 167 Creating an Inter face from Existing Methods 168 Extracting a Superclass to Consolidate Common Methods 169 Changing References to Use a Supertype 171 Unnesting Classes 172 Moving an Inner Class Up One Level 172 Converting an Anonymous Inner Class to a Named Inner Class 173 Quick Access to Keyboard Shortcuts 173 Chapter 7: Testing and Code Quality 176 JUnit and TestNG 177 Seleni um 180 Arquill ian 181 Java Code Coverage 183 SonarQ ube 188 Chapter 8: Debugging 191 Getting Started 192 Debugger Windows 193 Steps 194 Executing Code Line By Line 194 Executing a Method Without Stepping Into It 194 Resuming Execution Through the End of a Method 195 Continuing to the Next Breakpoint 195 Continuing to the Cursor Position 195 Stepping Into the JDK and Other Libraries 195 Limiting the Classes that You Can Step Into for a Library 195 Backing Up from a Method to its Call 196 Breakpoints 196 Setting Breakpoints 196 Line 198 Class 199 Method 201 Exception 203 Field 204 Thread 206 Managing Breakpoints 207 Conditions 207 Groups 208 Enablement 208 Logging 208 Messages 208 Watches 209 Setting a Watch on a Variable or Field 210 Monitoring the Object Assigned to a Variable 210 Displaying the Value of a Class’s toString Method 211 Changing Values of Variables or Expressions 211 Displaying Variables from Previous Method Calls 211 Threads 212 Switching the Currently Monitored Thread 212 Suspending and Resuming Threads 212 Suspending a Single Thread at a Breakpoint 212 Isolating Debugging to a Single Thread 213 Identifying Deadlocks 213 Code Changes 214 GUI Snapshot 214 Chapter 9: Profiling and Tuning 218 Performance Tuning 219 Coding for Performance 220 Tuning the Environment 220 Planning for Capacity 221 Getting Started with the Profiler 221 Basic Profiling Terminology 222 Telemetry 222 Understanding Surviving Generations 223 Methods 224 Viewing Live Results 224 Taking a Snapshot of Results 225 Objects 226 Viewing Live Results 226 Taking a Snapshot of Results 227 Threads 228 Lock Contention 229 Attaching t he Profiler to External Processes 230 Getting Started with Apache JMeter 230 Using Apache JMeter 231 Chapter 10: Versioning 235 Setting Up Git in the IDE 235 Initializing a Git Repository 236 Cloning a Git Repository 238 Adding Files to a Git Repository 239 Editing Files 239 Viewing Changes in the Source Editor 240 Viewing File Status Information 241 Badges and Color-Coding 242 File Status Labels 242 Git Versioning View 243 Comparing File Revisions 244 Reverting Changes 245 Committing Sources to a Repository 245 Working with Branches 247 Creating 247 Checking Out 249 Merging 250 Deleting 251 Working with Remote Repositories 252 Fetching 252 Pulling 253 Pushing 253 Index 255 This is a guide for getting started learning and using the free and open source NetBeans IDE. It shows you what the IDE is all about and how to use it with real-world case studies built from the ground up as you learn all about the IDE. You'll learn what NetBeans is and how to use it; how to install and set up your NetBeans IDE and environment; how to write your first Java application using NetBeans; how to explore the key NetBeans wizards and plug-ins; how to build a complex Java EE-based application using Maven with NetBeans; how to improve applications by refactoring, testing, debugging, and profiling. -- Edited summary from book Front Matter....Pages i-xxv Installing and Setting Up....Pages 1-14 Getting Started....Pages 15-30 Java Editor....Pages 31-83 Using Wizards and Plugins....Pages 85-102 Putting the Pieces Together....Pages 103-123 Analysis and Refactoring....Pages 125-163 Testing and Code Quality....Pages 165-180 Debugging....Pages 181-208 Profiling and Tuning....Pages 209-226 Versioning....Pages 227-248 Back Matter....Pages 249-253

قیمت نهایی

۴۴٬۰۰۰ تومان