国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

構(gòu)建企業(yè)級應(yīng)用的六大誤區(qū)(英文)

2019-11-18 13:53:30
字體:
供稿:網(wǎng)友

  構(gòu)建企業(yè)級應(yīng)用的六大誤區(qū)(英文)

Six Common EnterPRise Programming Mistakes
by Brett McLaughlin, author of Building java Enterprise applications Vol. I: Architecture
04/03/2002

Instead of giving you tips to use in your programming (at least directly), I want to look at some common mistakes made in enterprise programming. And instead of focusing on what to do, I want to look at what you should not do.

Most programmers take books like mine and add in the good things, but they leave their mistakes in the very same programs! So I´ll toUCh on several common errors I see in enterprise programming, and then briefly mention how to avoid those mistakes.


1. It doesn´t matter what data store type you use.
One of the first steps in designing an application is to decide on the data store. It used to be that every application was based upon a database, and this was simply not an issue. However, there has recently been an upsurge in additional options: you can now use relational databases, xml databases, object databases, Directory servers, and more.

As a result, many companies have begun to interchange these different data stores, often without any real thought. If a directory server is cheaper than a database, it is used to replace the database. XML databases are put in place because they are "sexy" and satisfy "technology lust." However, the trend to use any data store for any case is simply absurd; your performance will began to degrade, your code will become overly complex, and you´ll have no idea why.

Each data store has a specific purpose. For example, directory servers are optimized for frequent reads, with few writes. Authentication and searching for names and addresses is a perfect usage of a directory server. However, if you start to add data programmatically to a directory server often, you'll see a degradation in performance. A database is better in this case.

The same sort of choices are important when determining what kind of database to use. For example, using an XML database in an application that never pulls XML directly out of that database is silly. You´re choosing a technology (XML), and then never using that technology.

In my new book, I detail these exact choices. (Yes, it´s more than just a book about Java.) In fact, you´ll learn how to integrate databases and directory servers into the same application, and even how to transfer data back and forth between them.


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 肇庆市| 井冈山市| 武城县| 科技| 建湖县| 清远市| 津市市| 河源市| 古浪县| 郑州市| 施甸县| 肥乡县| 遂川县| 马尔康县| 鄂伦春自治旗| 龙游县| 乐都县| 余庆县| 万州区| 色达县| 博爱县| 涡阳县| 青州市| 大洼县| 彭阳县| 固始县| 静乐县| 云安县| 泉州市| 桑植县| 米泉市| 上思县| 潮安县| 阿克陶县| 山西省| 嘉义市| 长岛县| 土默特右旗| 新建县| 潮州市| 镇雄县|