国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 荆州市| 饶平县| 玉树县| 磐安县| 临夏县| 平湖市| 兖州市| 桂平市| 罗源县| 扎兰屯市| 安图县| 云南省| 雷波县| 襄垣县| 台前县| 盐津县| 青岛市| 名山县| 绥滨县| 淮滨县| 上林县| 出国| 长乐市| 松溪县| 额尔古纳市| 元朗区| 乌鲁木齐市| 吕梁市| 鹤庆县| 柘城县| 孝昌县| 左云县| 涡阳县| 岗巴县| 温泉县| 舟山市| 八宿县| 镇安县| 新绛县| 依兰县| 监利县|