Chương này ₫ã giới thiệu các tactics ₫ể giải quyết các yêu cầu phi chức năng chính yếu của phần mềm như tính sẵn sàng ₫ể sử dụng, tính dễ sử dụng, tính thay ₫ổi ₫ược, tính hiệu quả, tính có thể kiểm thử, an ninh.
32 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1214 | Lượt tải: 0
kịch bản tổng quát : cần làm cho các người liên quan giao tiếp nhau mỗi cộng ₫ồng dùng thuật ngữ riêng cho từng thuộc tính. kích thích có thể xảy ra trong khi chạy phần mềm hay trước ₫ó công việc của kiến trúc sư : hiểu kích thích nào : diễn tả cùng ocurence là tích hợp trong kích thích khác là ₫ộc lập khi nào các quan hệ giữa...
29 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1360 | Lượt tải: 0
Method matches (from class String, Pattern or Matcher) will return true only if the entire search object matches the regular expression. Methods find and lookingAt (from class Matcher) will return true if a portion of the search object matches the regular expression.
83 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1278 | Lượt tải: 0
Printing Literals Most characters can be printed Certain "problem" characters, such as the quotation mark (") Must be represented by escape sequences Represented by a backslash \ followed by an escape character
49 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1382 | Lượt tải: 0
Common Programming Error 28.3 A runtime error occurs if an attempt is made to deserialize an object of a class that does not have a default or no-argument constructor.
114 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1201 | Lượt tải: 0
Geocoding Service Object geoCode method receives an address as an argument Returns an array of GeoPoint objects representing locations that match the address parameter GeoPoints provide a location’s latitude and longitude
84 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1221 | Lượt tải: 0
A benefit of using SessionBean properties (rather than cookies) is that they can store any type of object (not just Strings) as attribute values. This provides you with increased flexibility in maintaining client state information.
145 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1394 | Lượt tải: 0
Methods of interface Connection setAutoCommit specifies whether each SQL statement commits after it completes (a true argument) or if several SQL statements should be grouped as a transaction (a false argument) If the argument to setAutoCommit is false, the program must follow the last SQL statement in the transaction with a call to Connection me...
144 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1578 | Lượt tải: 0
By default, applets cannot perform file processing Applets often limited in machine access Applets can communicate only with the machine from which it was originally downloaded Java Security API Digitally signed applets Applets given more privileges if from trusted source
96 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1309 | Lượt tải: 0
Callable interface package java.util.concurrent declares a single method named call similar to Runnable, but method call allows the thread to return a value or to throw a checked exception ExecutorService method submit executes a Callable Returns an object of type Future (of package java.util.concurrent) that represents the executing Callable...
124 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1676 | Lượt tải: 0