Oracle compra Sun Microsystems, junto con Java y MySQL
Si hubiera sabiado que el sonido se iba a trasar tanto no lo hubiera grabado directamente en YouTube
I will use this space to post things that I learn about daily my job. Mainly I will post things about Java, NetBeans, Sun Microsystems, Mozilla and Macromedia Flex.
Si hubiera sabiado que el sonido se iba a trasar tanto no lo hubiera grabado directamente en YouTube
Dear Java Community,
Labels: java, sun microsystems
"There is no need to define 'blog.' I doubt there ever was such a call to define 'newspaper' or 'television' or 'radio' or 'book' -- or, for that matter, 'telephone' or 'instant messenger.' A blog is merely a tool that lets you do anything from change the world to share your shopping list. People will use it however they wish. And it is way too soon in the invention of uses for this tool to limit it with a set definition. That's why I resist even calling it a medium; it is a means of sharing information and also of interacting: It's more about conversation than content ... so far. I think it is equally tiresome and useless to argue about whether blogs are journalism, for journalism is not limited by the tool or medium or person used in the act. Blogs are whatever they want to be. Blogs are whatever we make them. Defining 'blog' is a fool's errand."
"Technology will never be properly packaged by those who venerate it excessively. Anyone in hi tech, are you listening? It's not the technology! It's the experience! And while we are at it, anyone in the creation chain of a product: It's not what you do. It's the combined efforts of everyone involved. Oh, and since I mentioned it: It's not a chain. It's a loop. Unless users and customers have their experience pushed back into the product, it's not complete. In fact, unless you start with their needs you may be in trouble." Bruce G. Lee





"Being a 1.5 SCJP means you must be at one with the object-oriented aspects of Java. You must dream of inheritance hierarchies, the power of polymorphism must flow through you, cohesion and loose coupling must become second nature to you, and composition must be your bread and butter."
Last week I spent some time trying to set focus on popUp's componets from the parent Window with Macromedia Flex. The idea was very simple, we had a defaultButton property set on a TextInput to automatically display the search results on a PopUp window when user pressed the ENTER key. The result was base on the parameters typed by the user on the TextInput. On the resultWindow(popUp) the result was display using a DataGrid. I wanted to automatically set the focus on the popUp's grid when the popUp was shown, so the user could start navigating the results on the DataGrid using only the keyboard and avoid using the mouse.
I'm pretty new developing with Macromedia Flex. We stared working with Flex, because it is very easy and simple to pass Java Object to ActionScript Objects (Flex Objects). A few days ago we had a problem seding float fields on Java Objects to AS Objects. Every Numeric Field(int, float, double, byte) on Java is translated into Number Object in AS. Every time we tryed to send a float field it loosed its precision on Flex. That means, on Java we had a float field call 'fee' with value 0.01 and on the Flex side we had a Number field call 'fee' but we received the value 0.0099872457 that was almost 0.01, we tryed many ways to fix this problem. The final solution was to used double instead of float fields on the Java side. Flex treats every decimal value as double values to avoid loosing precision, I know the solution sounds kind of fool , but for some reason Java float fields are not well translated to Flex Number Objects. If you want to know more about the Java to Flex translation process you can click this link.