Java Framework To Create Java Frameworks Java的框架內創造的Java框架
I have seen way too many java frameworks, way beyond my limits of tolerance.我看過太多的Java框架,超越我的容忍限度。 And I have found a perfect solution.我已經找到了一條完美的解決方案。
Too many java programmer wants to create his own framework.太多的Java程序員要創造自己的框架。 What we need is a java framework to create java frameworks.我們所需要的是一個Java框架,以創建的Java框架。 So every Tom, Dick and Nancy can create their own fancy framework on a weekend and let it loose on the world at large, thanks to the generosity of Sourceforge / Javaforge etc.所以每一個湯姆,迪克和南希都可以建立自己喜歡的框架內對一個週末,讓它鬆散,對整個世界,感謝慷慨的SourceForge / javaforge等。
We also need a java framework to create documentation for created java frameworks.我們還需要一個Java框架,以創建文件創建的Java框架。 It will spew out stock documentation (maven style) containing beautiful phrases like - reliable, lightweight, embeddable, inversion of control, dependency injection, flexible etc.它將還會股票文件(行家作風) ,其中載有美麗的詞組一樣-可靠,重量輕,可嵌入,反演控制,依賴注入,靈活等。
The generated frameworks must be built on Maven, a framework which easily allows you to generate tons of useless documentation without breaking a sweat.生成的框架必須建立在行家,一個架構,很容易讓您產生噸無用的文件,而不打破了汗水。
It should support XML based configuration and support a wide selection of other java frameworks like Spring, Struts, Webwork etc.它應支持基於XML的配置和支持的廣泛選擇其他Java框架一樣,春天, Struts的,在WebWork等。
It should take at least a week to learn.它應採取至少一周的學習。 It is advisable to have a steep learning curve with obtuse documentation.可取的做法是有一個陡峭的學習曲線與鈍文件。 Anyone who finally masters it will be too tired and too horrified to ever venture into any other java frameworks.任何人誰,最後的主人,它會太疲累,太震驚,以前所未有的創業到任何其他Java框架。
I predict 2006 will be the year when we will finally see the first wave of such meta frameworks.我預測2006年將是今年,當我們最終將看到的第一波,如中繼框架。
Filed under提起下 Headline News頭條新聞 , , Humor幽默 , , Java Software Java軟件 , , Web網頁 | |
| |
RSS 2.0 2.0 | |
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




January 30th, 2006 at 12:42 am 2006年1月30日在上午12時42分
Your joking, are you?您在開玩笑,你呢? Your sarcasm at the tail end of the article gives you away.您的冷嘲熱諷,在尾端的文章讓您遠離。
Nice post.尼斯後。
February 2nd, 2006 at 3:10 am 2006年2月2日凌晨3時10分
Thanks.謝謝。
February 8th, 2006 at 3:43 am 2006年2月8日在上午03時43分
[...] Licensing fees are a major deterrent in product development in developing countries. [ … … ]的牌照費是主要的阻嚇作用,在產品開發是在發展中國家。 As a result piracy is common.由於盜版是常見的。 However you cannot sell software based upon pirated environment and without appropriate distribution license.但是你不能出售的軟件基於盜版的環境和沒有適當的分配許可證。 The risks are too high.風險太高。 You have to therefore choose free platform like Java.你必須因此選擇免費的平台一樣, Java的。 Java comes with plethora of choices for IDE, frameworks (too many of them IMHO) and best of all it runs on all platform, including but not limited to Windows. Java的附帶太多的選擇的IDE ,框架(太多,他們imho )和最棒的一點是它運行於所有平台,包括但不限於到Windows 。 [...] [ … … ]
May 20th, 2006 at 1:05 pm 2006年5月20日在下午1時05分
Thought you might enjoy this以為你可能享受這 http://discuss.joelonsoftware.com/default.asp?joel.3.219431.12
May 20th, 2006 at 7:57 pm 2006年5月20日在下午7點57分
Wonderful article.精彩的文章。 BenjiSmith pretty much hit the nail on the head. benjismith非常一針見血地的頭部。
July 12th, 2006 at 1:06 pm 2006年7月12日在下午1時06分
How would you program for Java??你會如何計劃的Java嗎?
Jeff asks you to create a small Java program that loops through an array of toys ordered as a start to the inventory automation project.傑夫要求您創建一個小的Java程式的循環,通過一系列的玩具下令作為一個開始,以清單的自動化項目。 For now, he says you can use a sample list of possible items.現在,他說,您可以使用範例清單可能的項目。 The items you choose for the inventory list are ball, bat, bear, car, doll, game, glove, playstation, and train.項目您選擇為清單是球,蝙蝠,熊,汽車,洋娃娃,遊戲,手套,遊戲,和火車。 In your sample program, keep a tally of the different items.在您的示例程序,保持相符的不同項目。 If the item has already been mentioned, just increment that count as opposed to creating a new count for that item.如果該項目已經提到,只要增量計數作為反對建立一個新的計數為這個項目。 You remember Jeff mentioning that orders for more than 4 items can sometimes cause stock outages.你還記得傑夫一提的是,訂單4個以上的項目,有時可以導致股票中斷。 To alert the shipping department of situations where outages might occur, you decide to put an asterisk (*) before any item for which the customer has requested a quantity of 5 or more.要提高警覺,航運部門的情況下,停電,可能會發生,您可以決定把一個星號( * )之前,任何項目,其中客戶要求的數量,五或以上。 At the end, print to the screen a summary of the items and their total count.在去年底,打印到屏幕上項目的摘要和他們的總數。
Here is a possible structure of your program.這裡是一個可能的結構,您的計劃。 This program has a single class named “ToysInventory”.這個程式有一個單一的階級名為“ toysinventory ” 。 The class has some private attributes and three public methods: countToys, printItems, and main.每班有一些私人屬性和3個公共方法: counttoys , printitems ,和主要的。
Feel free to design your program from scratch.覺得免費設計您的程序從頭開始。
public class ToysInventory {公共類toysinventory (
// declare counters to keep track of the number of each type of toys / /申報櫃檯,以保持軌道的數目每類玩具
private …私人…
// Toys in our inventory / /玩具在我們的清單
// declare an array to hold our inventory of toys / /申報陣列舉行我們的庫存玩具
private String [] toysInventory = …私人字符串[ ] toysinventory = …
// count the number of each type of toys in our inventory. / /計數的數目每種類型的玩具在我們的庫存。
// This method uses the “length” method on the array to get the number / /此方法使用的“長度”的方法對陣列,以取得該號碼
// of toys in the inventory. / /玩具在清單中。
public void countToys () {公眾無效counttoys ( ) (
…
} )
// Print the name of each toy, followed by its count. / /打印的名字,每個玩具,其次是其計數。
// identify toys whose count exceeds five with a “*”. / /確定玩具,其計數超過5一個“ * ” 。
public void printItems() {公眾無效printitems ( ) (
…
} )
// This is the main method of the class. / /這是主要的方法上課。 It calls the methods of the class to它調用方法的類的
// perform its job. / /執行它的工作。
public static void main (String [] args) {公共靜態無效的主要(字符串[ ] args ) (
// instantiate a class of “toysInventory”, then call its methods: / /實例一類“ toysinventory ” ,然後調用其方法:
// countToys and printItems. / / counttoys和printitems 。
ToysInventory collection = new ToysInventory (); toysinventory收集=新toysinventory ( ) ;
…
} )
(Hint: Use myArray.length to determine how long the order input array is. Use System.out.print() to print a portion of an output line, and use System.out.println() to print a line and the carriage return to the next line. Make sure you handle the case where the inventory item description is not among those listed above – such as could happen with a typo or error.) (提示:使用myarray.length ,以確定如何,只要該命令的輸入數組是使用system.out.print ( )打印部分輸出線,並使用system.out.println ( )打印線和運輸返回到下一行。確保您處理的情況下,庫存物品描述是不屬於上述所列-如可能發生的一個錯字或錯誤) 。
Here is your order input array: “bear,” “train,” “car,” “ball,” “doll,” “ball,” “train,” “doll,” “game,” “train,” “bear,” “doll,” “train,” “car,” “ball,” “bat,” “glove,” “bat,” “b,” “doll,” “bear,” “ball,” “doll,” “bat,” “car,” “glove,” “train,” “doll,” “bear”這裡是您的訂單輸入數組: “熊” , “列車” , “車” , “球” , “娃娃” , “球” , “列車” , “娃娃” , “遊戲” , “列車” , “承擔, “ , ”娃娃“ , ”列車“ , ”車“ , ”球“ , ”蝙蝠“ , ”手套“ , ”蝙蝠“ , ”乙“ , ”娃娃“ , ”緊“ , ”球“ , ”娃娃“ , ”蝙蝠“ , ”車“ , ”手套“ , ”列車“ , ”娃娃“ , ”大熊“
July 13th, 2006 at 11:15 am 2006年7月13日在上午11時15分
can u help?可以u幫助?
July 13th, 2006 at 12:15 pm 2006年7月13日在下午12時15分
Sure.當然。 Please email me with details using my contact form.請發電郵給我的細節用我的聯繫表格。
July 21st, 2006 at 6:59 pm 2006年7月21日在下午6時59分
I have the same problems as Mitchell Grow.我有同樣的問題米切爾增長。 I was wondering if anyone can help me.我想知道,如果有人可以幫助我。
July 21st, 2006 at 7:42 pm 2006年7月21日在下午7點42分
@Alan & Mitchell @梁家傑&米切爾
Is this some class assignment?這是一些一流的轉讓? Why do you both have the same problem?為什麼你們都有同樣的問題呢? It appears rather simple.似乎很簡單。 But first I want to know the context and who is Jeff?但首先我想知道的背景和誰是傑夫?
December 3rd, 2006 at 1:38 pm 2006年12月3日在下午1時38分
The above java problem seems interesting.I am a beginner in java programming and would mind figuring out how the problem was solved.You can email me the solution thanks a lot.上述Java問題似乎interesting.i上午初學者在Java編程,並會銘記搞清楚如何的問題是solved.you可以發送電子郵件給我解決了很多感謝。