DirectoryTechnologyBlog Details for "Dev 2 Dev"

Dev 2 Dev

Dev 2 Dev
Dev2Dev approach, i write my own articles on the topics that should be interesting for any Java, C Sharp or even PHP developer and not only that.
Articles: 1, 2, 3

Articles

Goodbye SUNW , hello JAVA . Sun changes its Stock Symbol
2007-08-24 22:34:00
It was this morning that Jonathan Schwartz announced the change of the stock symbol that Sun held for 25 years or so. Strange to some but apparently its a marketing move to promote or rather let others know that Sun is still alive.Read more...
More About: Java , Stock , Goodbye , Chang , Chan
ODP.NET executing anonymous PL/SQL block
2007-08-23 19:17:00
ODP.NET is a library written by Oracle for Microsoft .NET Framework 2.0 and up Those of you who use Microsoft's version of Oracle DataAccess would only be happy with speed and various options to execute your code faster. Few things that are absolutely fantastic: Statement Caching Fetch Size Passing and retrieving Cursors and REF Cursor types and more. Read more on how to use Anon ymous PL/SQL block in .NET application  Read more...
More About: Block
Develop your own app quicker and visually appealing
2007-08-23 04:59:00
A rather practical and interesting article i found on Java.net weblogs.java.net/blog/fabriziogiudici/arc hive/2007/08/creative_use_of.htmlRead more...
More About: Develop , Ally , Appeal
Microsoft and Ajax
2007-08-20 23:31:00
You might be surprised but Microsoft has released some Ajax framework (just came out from beta) and Ajax components. Don't forget that the only IDE supported it Visual Studio 2005 and up and requires .NET 2.0 and up framework. http://asp.net/ajax/downloads/Read more...
Famous SUN SPARC processor turns 20
2007-08-07 04:14:00
20 years of superb performance. New Sun Blade 6000 family http://www.sun.com/launch/2007-0606/index .jsp Read more...
More About: Processor , Famous , Turn , Process , Spar
Optimizing Oracle Database
2007-08-02 16:52:00
To help your database run faster and more effectively, Oracle has whats called a KEEP pool. Some may call it simply cache that holds most frequently used objects in memory for immediate usage. Description from the Oracle Documentation: “A good candidate for a segment to put into the KEEP pool is a segment that is smaller than 10% of the size of the DEFAULT buffer pool and has incurred at least 1% of the total I/Os in the system” Which means that it is not meant to hold all of your highly demanded tables , just smaller ones. You may want to use some script to handle this task for you, i  have found this site that provides a helpful Script that maybe automated if put as a job (on daily basis). www.dba-oracle.com/t_script_automate_keep _pool_tables_indexes.htmRead more...
More About: Database , Opti , Base
Oracle Database 11g
2007-07-20 19:48:00
From oracle.com: Oracle Database 11g, building on Oracle's unique ability to deliver Grid Computing, gives Oracle customers the agility to respond faster to changing business conditions, gain competitive advantage through technology innovation, and reduce costs. With Oracle Database 11g you can: Adopt new technology faster with Real Application Testing Manage more data for less with advanced compression and partitioning Simplify systems by storing all your data in the Oracle Database with Oracle Fast Files Maximize the ROI of disaster recovery resources with new Data Guard advances Free critical personnel for strategic tasks with management automation And much, much more... Most documents can be found on: http://www.oracle.com/technology/products /database/oracle11g/index.html If you'd like to know more about Oracle 11g features. http://www.oracle.com/technology/products /database/oracle11g/pdf/database-11g-new- features-white...
More About: Base
Oracle - PL/SQL - using WHEN in a trigger
2007-07-06 17:44:00
I've had a bit of trouble trying to decode what Invalid relational operator means when i am using a normal sign <>  (which means not equal) which is perfectly valid. Silly Oracle enjoys confusing US, the developers. So after searching Safari and googling furiously i found a good old Oreilly book (even for my version of Oracle 8i) The error happened to be nothing but a COLON that should not be there in WHEN statement. Remember the :OLD and :NEW , it should be just OLD and NEW. Here is the sample: CREATE OR REPLACE TRIGGER emp_before_ins_t BEFORE INSERT ON employee FOR EACH ROW WHEN (NEW.mgr is null)BEGIN IF (:NEW.sal > 800) THEN :NEW.sal := 850; END IF;END; I found a great number of usual problems with Triggers here: http://www.oreilly.com/catalog/ordevworkb ook/chapter/ch16p.html and after searching the solution i found it here: http://www.oreilly.com/catalog/ordevworkb ook/chapter/ch16s.html Read more...
More About: Special
Sun Studio 12 is HERE
2007-06-07 05:10:00
Get it Any C/C++ and even java dev should try it. Forget all the other IDEs, this one rules! developers.sun.com/sunstudio/index.jspRea d more...
More About: Studio , Studio 1
Chinese cars
2007-05-16 04:45:00
Copycats is the word for all of this. I must admit this is just a fraction of all the copies Asians have made of European or American cars. Toyota, Lexus, Acura , Honda are no better than these low quality copycats. ziza.ru/2007/04/19/kitajjskie_mashiny_12_ foto.htmlRead more...
More About: Cars , Chinese
How to find more information on a arbitrary constraint name such as
2007-05-03 17:27:00
Oracle usually stores constraints using this format: SYS_C001457 The number obviously does not make any sense to a human being so here is how you would find which table and which column does this Constraint refer to: select table_name,constraint_name,column_name from user_cons_columns where constraint_name like '%1457%'; Definitely works starting from 8i, haven't tested against 7 and below.Read more...
More About: Information , Find , Special , Informa , More
Quick helper method InitCap
2007-05-01 19:20:00
I had a need to initialize the first letter e.g. SERGE would become Serge hence i wrote this method that you can use freely.  public static String initCap(String str){         ; String nstr = str.toLowerCase();         ; nstr = String.valueOf(str.charAt(0)).toUpperCase ().concat(str.substring(1));         ; return nstr;     }Read more...
More About: Quick , Special , Method
Where on earth does NetBeans keep it's Library Manager records
2007-04-29 20:00:00
IDEs have  their own little world within our system (OS)  and the more advanced they are, the harder it is to migrate them to a e.g. new computer with existing IDE (same one) but moving plugins , libraries ,etc proved to be far from easy. Unfortunately i have learned the hard way. I am using NetBeans 5.5 which is quite similar in it's setup to NB 5.0 Over the time i have installed many plugins and created many libraries for my development and ease of use. FYI, Library manager is a neat tool to organize many JAR files (libraries) into groups and give them a name, e.g. Jfree would have many Jar files together with it so when you are developing, you can have a reference to all of these libs by using an alias (Group name). I thought that copying the whole folder e.g. netbeans5.5 would be enough but it wasn't , even though modules are kept in it , the configuration files for modules didn't seem to be there. Same goes for Library Manager Everything is kept in your $H...
More About: Earth , Keep , Here
Sun's new UltraSPARC T2 CPU
2007-04-20 19:41:00
" Meet the forthcoming 64-thread UltraSPARC T2 CPU. With twice as many threads as the chip in Sun Fire CoolThreads servers, it raises the bar for energy efficiency and massive throughput. Get a preview of Sun's next processor, and insights into which of Sun's three server lineups is right for your application areas" Read more...
More About: Spar
New upcoming Solaris 10 upgrade 4
2007-04-19 22:03:00
I've been invited to join a new beta program since i used to be a beta tester of first betas of Solaris 10 and now Sun is looking for beta testers again to test the new releases.   One of the things that i really enjoy about Solaris 10 (latest one) is the free Sun Star Office 8 which is of equal quality to Microsoft Office and has a neat button to generate PDF document, reads MS Doc files. Not only that , Solaris simply works faster then windows or linux. The new or enhanced features in S10 7/07 Beta Release to be tested include but are not limited to: Improved integration of Resource Management into Solaris Containers Solaris Containers for Linux Applications Firefox 2.0 Browser Thunderbird 2.0 Beta 2 E-mail client PostgreSQL 8.2 for Solaris Quagga routing suite Multi-MAC address support IP Instances - LAN and VLAN separation for Zones Improved Networking Performance Advanced N...
More About: Upcoming , Ming
A JDBC 4.0 Tutorial
2007-04-10 22:55:00
Finally a nice tutorial today.java.net/pub/a/today/2007/04/10/wha ts-new-in-jdbc-40.html Mainly exploring the new features and discussing whats new. EnjoyRead more...
More About: Tutorial , Tori , Rial
Ever visited Kremlin?
2007-04-10 03:22:00
It's quite interesting to see around the Kremlin and you can easily do so here: www.openkremlin.ru/open.html Although it is a Russian site, i am certain anyone will figure out what to do, some notes for non-Russian speakers: - The play button is actually to hear a story behind what you are watching, not a movie The site works well in IE Another rather interesting project : www.kreml.ru/main_en.asp All the history and many displays that you can see and educate yourself a little :). Enjoy the virtual visit. Read more...
More About: Site , Ever , Visi , Visit
Buggy MSN Live
2007-04-07 00:11:00
Anyone would simply die laughing when seeing this. If you are a MSN user , you probably have been bombarded every time with a message that a new version of MSN came out, and at some point you will give in and install that version. What i really hated about MSN Live : - The MSN team definitely did not do it's homework in migration My groups were disordered and old ones appeared once again that i deleted years ago. I have no idea where it came from, even old contact that i banned or deleted. It was a MESS i tell you. - These pesky message regarding approval of someone seeing my profile updated? The whole notion is strange, i could care less of it. And the best part, when i clicked on Pending Requests , i got this popup window that contained a few profiles that somehow ( for them) requested my approval on updates. I decided to see who the person is and clicked on the View Profile that was supposed to show me some icon and quick info and this is what i got: Read more...
More About: Bugg
Own your own google
2007-04-04 01:00:00
We have no doubt that google is the best search engine for most of our needs. Now any company (of any size) can use its engine to search it's documents with the appliance and software from Googl e itself. See the link: www.google.com/enterprise/mini/Read more...
More About: Your
Free Broadband service from Google?
2007-04-02 02:26:00
I was a little surprised to see this on google.com http://www.google.com/tisp/install.html Enjoy :))) heheRead more...
More About: Google , Band , Broadband , Service , Free
Sorting non-English alphabets
2007-04-01 17:49:00
One might need to sort an alphabet that in some internationalized application according to the current Locale. A good tutorial i found on this matter by Sun: Customizing Collation Rules That will allow you to sort properly words and letters that are not English . Here is the link: http://java.sun.com/docs/books/tutorial/i 18n/text/rule.html java.sun.com/docs/books/tutorial/i18n/tex t/rule.htmlRead more...
More About: Alpha , Sorting , Sort , Bets
Sun's Project Black box - virtualized data center , on wheels?
2007-03-29 17:17:00
It may look like a container with a nice design, not just a coloured box but from the looks of it, it is a sticker with a huge Sun logo on it. Well after all it is still a Shipping container, but what of it? It seems and feels that this would be how data centers will be in the next decade. An efficient monster that will support all of the IT needs for a given sector. It is stuffed with the latest servers that not only super fast but also energy efficient which became a new race among IBM, HP, SUN hardware creators. But SUN surprised them all, now you could take your Data Cent er on wheels and move it to your garage :)) Well , no, you won't unless you have a backbone running towards your house and a nice little power generator. But companies might benefit from this project. Let's have a look at what this "container" has in stock for us? Read On, you will be shocked. Read more...
More About: Project , Black , Virtual
Saving a database an extra round trip, update when needed
2007-03-26 20:20:00
Before even begin, if your project deals with a database directly without any Hibernate or ORM like software this is for you. Also it is important to note that ViewState must be enabled on the page we're about to change. ViewState in short terms a hidden encrypted input field on your page essentially. What's it useful for? If you are making some sort of changes to e.g. Drop Down List or a Calendar, you might want to know if a certain field has been changed by a user. E.g. A user selected a different value in the Drop Down List, hence upon hitting a button "Update " your code would know that drop down list has changed its Index. How? 1. To store an initial value of component (e.g. Drop down list) , you should do like this: if (!IsPostBack)  { ViewState["ddlindex"] = this.ddlSomething.SelectedIndex; } 2. Upon updating simply check the ViewState for that id, if the information in the ViewState is different then the current one, you should update, other...
More About: Data , Database , Trip , When
Want to stay on Cote De Azure for 30Euro/night for 3 people?
2007-03-25 19:00:00
I know i have and have stayed within nice budget. Everyone perceives Euro pe as something unreachable and super expensive, it is in some parts but if you are a smart traveler then you will not run out of money on the first day upon arrival. Read more, you won't regret and will save.Read more...
More About: People , Night , Want , Stay
Steal our code by Sun Microsystems
2007-03-25 05:59:00
Sun at least in the recent few years has been an active contributor to Open Source community so it doesn't really sound strange. A bit over a year ago Sun open sourced its famous Solaris Operating System , based on 10th version hence the Open Solaris was born.Read more...
More About: Code , Sun Microsystems , Systems , Teal
How do you manage various containers?
2007-03-24 04:18:00
I usually develop on Sun Application Server which comes with SDK and Netbeans in a bundle, but unfortunately i don't have the luxury of running a Sun App Server on my host so i have to redeploy on Jboss to see how it goes. Most web developers might even use tomcat or jetty or geronimo, in reality the choice is yours. But do you manage deployment, undeploy and other operations, since each one is totally different from each other. I found an interesting project: Cargo cargo.codehaus.org/HomeRead more...
More About: Vari , Container , Mana , Manage , Vario
Win Ipod nano
2007-03-17 19:47:00
Sun is promoting its new Sun App Server 9.1 (one of the Glassfish builds) and wants everyone to try it, to make it worthwhile you could win Ipod Nano once you install it and run its admin console which is 3-4 minute job. Simply follow the link below : communications1.sun.com/r/c/rRead more...
More About: Pod , Ipod nano
Sun Studio 12
2007-03-13 02:23:00
I've recently been invited to join an Early Access program by Sun Microsystems to give it a try and hopefully find bugs or suggest changes. It's always a great opportunity to try a new product for anyone developing high performance applications usually developed in C++ although it Java and Fortran. I once went to a Solaris Day and found out a lot of interesting things about Solaris and Sun Studio 11. I am certain that any serious and i mean Serious engineer would want to use this free and lovely developer tool. Here are some of the features i am happy to announce will appear in the new 12th version: Parallelizing C, C++, and Fortran compilers Code-level debugger Memory debugger Performance profiling OpenMP support new IDE look and feel Optimized libraries Thread analysis Next-generation IDE based on NetBeans 5.5.1 software Improved binary application performance for all platforms—SPARC and x86/x64 ...
More About: Studio 1
Datetime, calendar manipulation using c#
2007-03-08 19:00:00
Most developers face a time when they need to subtract or add a number of days, months or years to a given date. You obviously don't do these operations very often so one tends to forget how to do it at all. Well this is how: Read onRead more...
More About: Time , Mani , Sing , Cale , Calendar
Properly closing Database Connection C# way
2007-03-07 19:28:00
Most of us , developers, are quite a lazy bunch, well aren't we all? How do you close and dispose your database connection objects? I have a seen a lot of developers do this: try{ this.cmd.Connection .Close(); this.cmd.Connection.dispose(); }catch{ } Not only can this throw an exception which obviously will be caught but it simply tells CLR to do more job than a simple check if object is null or not and if not wheather it is Open or not. Read on for a nicer way that anyone should pratice.Read more...
More About: Data , Perl , Database , Sing
More articles from this author:
1, 2, 3
111757 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2012 - Supported by Web Catalog - SEO by FeWorks
eXTReMe Tracker