Geeks With Blogs
Stephanie Grima C#, ASP.NET and my life. Java This Category contains articles and blogs which have to do with Java code, technology or background.
[Java] Netbeans is making me go crazy

  • I hate it when Netbeans cannot do the clean and build.
  • I hate it when it says I have errors, I close Netbeans and opening it again, and the errors are gone - especially when I have wasted tons of hours trying to solve those errors >_<

Posted On Monday, November 17, 2008 9:49 PM

[C#] [Java] Testing [Part 5]: Integration Testing
Integration Testing: The methods/procedures/functions that were tested seperately in Unit Testing are combined and tested as a group. Integration testing is mostly use to check the performance, reliability of a product and to check whether the requirements have been met. Advantage: It is important to test in groups before testing the application as a whole because you can find code problems earlier in the project. Disadvantages: Boring, monotonous Time consuming ......

Posted On Friday, October 31, 2008 9:12 AM

[C#] [Java] Testing [Part 4]: Unit Testing
Unit Testing Unit testing is when a tester, tests every method/function/procedure seperately. This is done to make sure that the most vital methods work as expected. Once the methods are tested one after the other, these are then put in groups according to what they do to form components. Then, these are tested using Integration Testing. This will be tackled in the next part. Advantages: Improves design Reduce cost of change because bugs are seen instantly Disadvantages: Time consuming. Testers and ......

Posted On Friday, October 31, 2008 6:51 AM

[C#] [Java] Testing [Part 3]: Gray Box Testing
Gray Box Testing Gray Box Testing is the combining of black box, and white box testing. It involves having access to internal data structure and algorithms, but the testing is still done at a user's level, therefore as black box testing. It is said to be mostly used in web services applications since the Internet is quite stable. Advantages: The testers do need to have the source-code while testing. Disadvantages: The testing is done based on limited knowledge of the internal code. Difficult to resolve ......

Posted On Friday, October 31, 2008 5:58 AM

[C#] [Java] Testing [Part 2]: White Box Testing
White Box Testing White box testing is known as clear box testing and glass box testing. The technique in white box testing is to have a very good knowledge of the internal code. The testers need to know what the product does, what the code really does because they need to examine the output values as well as the values within the methods/procedures/function. If the tester, does not know the code well, this kind of testing will be a failure and not accurate at all. It is ideal to do this kind of ......

Posted On Friday, October 31, 2008 4:40 AM

[C#] [Java] Testing [Part 1]: Black Box Testing
Black Box Testing Black box testing is the testing of methods/functions/procedures without knowing what is in the internal code. You would only know what to input, and what the expected outcomes should be. So to speak, no knowledge of the programme/application is required to do this kind of testing. Advantages The testers do not require any knowledge on the product being developed The testing is done from the user's points of view The programming and testing are done by different persons Disadvantages ......

Posted On Friday, October 31, 2008 12:10 AM

So I had to do a comparison between the Java language and PHP for college... and I thought I'd put it online as an article :-) Here it goes! In comparison to PHP, the J2EE language is far more maintainable in terms of updating an application or website. It is heavily object oriented, whereas OOP in PHP is rather new, since mostly, it is scripting. Java also has a better linear performance. And thus, it beats PHP on performance benchmarks as well. In polls and according to most programmers, J2EE is ......

Posted On Thursday, October 30, 2008 9:19 AM

[C#] [Java] Control Structures Part 5 : FOR Statement
For Statement The for statement, mostly known as for loop, is a way to iterate over a range of values. It is mostly referred to as a loop since it is used as an iteration until the expression is fullfilled. for(initialization; termination; increment) { statement/s } Initialization: this is executed once, to start the loop Termination: the loop stops once this expression becomes false Increment: After each iteration, this incrementation is invoked. The value here is either of incrementation or decrementation ......

Posted On Wednesday, October 29, 2008 10:54 PM

[C#] [Java] Control Structures Part 4 : DO/WHILE Statement
DO/WHILE Statement So people may ask: What is the difference between a while loop and a do while loop? The difference is that the do... while has the expression in the bottom of the loop. This means that he code has to be executed AT LEAST, ONCE. The while statement on the other side, is not executed at all if the condition is false from the beginning. This is how a do while looks: do { statement/s} while (expression);A more real example is the following:int counter = 1;results = "";do { results ......

Posted On Wednesday, October 29, 2008 9:14 PM

[C#] [Java] Control Structures Part 3 :WHILE Statement
While Statement The while statement is continously executed a block of code, until the condition is not true anymore. The while statement is also called a loop since it executes repeatedly one after the other until the condition is not met anymore. while (expression) { statement/s } A proper example of a while loop is the following: int counter = 1; string result = ""; while (counter < 11) { result += "Count is: " + counter; counter++; } Explanation: While the counter is less than 11, therefore ......

Posted On Wednesday, October 29, 2008 7:25 PM

Copyright © Steffi | Powered by: