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可以发送电子邮件给我解决了很多感谢。