₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,606 members, 8,518,455 topics. Date: Saturday, 14 November 2026 at 09:06 AM

Toggle theme

Sbucareer's Posts

Nairaland Forum › Sbucareer's Profile › Sbucareer's Posts

1 2 3 4 5 6 7 8 ... 25 26 27 28 29 30 31 32 33 (of 38 pages)

Programming › Re: Java Has Failed! by sbucareer(f): 6:38pm On Feb 22, 2006


BPEL means Business Process Execution Language and ADF means, Application Development Framework and DML means Data Manipulation Language (This is the Business Logic that either runs on your middle tier or in your Database) in case you were wondering, if you already know these meaning accept my apologies.


Programming › Re: Java Has Failed! by sbucareer(f): 6:23pm On Feb 22, 2006


Africanboy, you might want to visit Oracle Technology Network, which is the next big thing in the work place today. They are formulating the use of forms, BPEL using ADF in 10g versions of Oracle Fusion middleware. While you are at the site check out JDeveloper, which is the new thing now. Remember all these interesting tools runs on EJB or J2EE Application Server making fully use of Java.

My company is currently as I am talking to you migrating and rolling out JDeveloper for we developer and changing all our DML and all our middleware to Oracle Application Server 10g J2EE and Web Services.

Oracle is the new big boy in town and all these interesting tools are written and runs on Java, thank God for that. I can't wait to get my hands dirty on these tools next week when it all comes online at my work place.  grin grin
Programming › Re: Java Programming For Dummies by sbucareer(f): 5:57pm On Feb 22, 2006
[size=24pt]Class Diagram[/size]


Dont worry if your diagram do not look like this, with more practice you will become good in drawing class diagrams. Remember when you are in the work industry as a developer/programmer all you get is a Class Diagram or a UML Diagram and you must produce a software/codes base on the UML or class diagram. At the end of this tutorial I will help you to get started with UML

Programming › Re: Java Programming For Dummies by sbucareer(f): 5:38pm On Feb 22, 2006

Skima good work. I am impressed and very delightful that at least one person has attempted the task. You have showed great courage and good understanding and I will focus this tutorial around you and gbenga when I receive his work and other people.

Now, Skima your class diagram is very good but need a little modification like, the methods do not have bracket in Class Diagram . Every rectangle depicting method MUST show the reader if the method accepts/return attributes by using arrows. Out arrow i.e. -----------> will show that the method will return an attribute, <--------------- will show that the method will accept an attribute. Remember that if you method accepts/return several attributes must be shown using several arrows.

When you depict your attribute it is wise to say in the box what type of attribute that it. by doing this Celsius: String I know I did not showed it at the beginning but I was looking to see if any body will do some background reading to find this out by themselves. Off course that is the only way to learn, by doing additional reading.

Finally, you Temperature class has boolean attribute initialised to true. This can never happen. The Temperature class is a template. It will be instantiated into many objects in its later life, which will mean that all the Temperature artefact will be working/ok, which is NOT true.

Every attributes in a template class MUST be initialised to

1. Zero value in the case of int
2. Null value in the case of Object
3. false value in the case of boolean
4. 0.0 value in the case of double/float
5. '' in the case of char

In your TemperatureDemonstration is where you could have initialised that particular object to be working hence setting tempOk to true.

In general, you have done good work and I will progress to the second phase of my tutorial. I will compile the second phase when I get back from work. That will give others more time to upload their work if their have done it that is?




Computers › Re: What Does Computer Networking Entail? by sbucareer(f): 5:21pm On Feb 19, 2006


Maxflame, your choice of words are insulting and appalling for me to continue this intellectual debate with you.

In future try and learn constructive or academic debate before rendering your outlook on a public medium.

I find no further interest to this discussion as your debate is cluttered with insolence. Keep your knowledge and let me keep mine.

Computers › Re: What Does Computer Networking Entail? by sbucareer(f): 3:17pm On Feb 19, 2006


Thanks for that lecture maxflame, now you have touched every part of IT in correlation to Network Engineers, let me define Network Engineer for you and their tasks in modern information technology.

"A network engineer is responsible for the planning, design, and implementation of Local and Wide Area Networks (LANs and WANs). Network engineers usually design and implement large heterogeneous networks, and are required to have significant expertise in designing and administering network hardware and software from vendors like Microsoft, Cisco Systems, Nortel Networks, and CheckPoint. "

The above definition is taken from a google search. Here is my definition of information technology. Computer is part of information technology, but not the same as information technology. Traditionally, computing applications were concerned with the routine processing of raw data to provide basic information. Such computing activities were concerned with structured and alogorithmic data processing. Therefore, the definition of information technology (IT) includes all aspects of computing, integrated with technological development in networking and telecommunications technology.

Information technology involves understanding that computer systems are no longer isolated from other computer system.

Now to my claim, that without Network Engineer we will not have programmers? Without the invention of PC will a programmer see where to write his code or compile it? Infact IT supports IS. Because of the power of our Engineers either Network/hardware engineers, these people has paved the way for us to enjoy the richness of Information System.

If you must know, engineers are people that build things not necessary inventors but they put the ideas of inventor into a hardware. Most engineers are also inventors.

If you were wondering what is IS (information System). An information system (IS) is a set of inter-related parts that are integrated to handle, store and process data that is in turn transmitted and disseminated to individuals (or groups) within the business organisation to provide information for decision making.  A typical individual could be a programmer
Computers › Re: What Does Computer Networking Entail? by sbucareer(f): 1:44pm On Feb 19, 2006

I am sorry, none of you guys are defining IT (information Technology) for me. Forget what is Network for now? I want definition of IT.

The word in bold shouldn't be in that statement. Thats what i was after. When i use the word IT i think of it as everything computer related since the definition of a computer is a device that processes raw data into information.
I will still stand by my statement that without network Engineers or assistant  they won't be programmers or database guru or any IT application. .

You will have to disprove me. I need someone to define Information Technology for me.  When we have the definition we can then go into what is network/software and which branch of the IT industry supports which one?

The answers are staring you in your eyes, open it and see.  Also to help you out. You can define Network Engineer/support Assistant. You will see that my claim for without network Engineers or assistant  they won't be programmers or database guru or any IT application. will hold.

Computers › Re: What Does Computer Networking Entail? by sbucareer(f): 11:53pm On Feb 18, 2006
maxflame: That is soo not true. The IT industry is wider than you can imagine. I do VFX and 3d animation and networking is not that essential. The R&grin(research and development) department are made up of programmers who develop softwares and tools for our kind of work. Saying everything IT is based on networking is too far fetched.

Can you define IT/IS for me please?

IT/IS, means Information Technology/Information System. Please I would appreciate your definition or understanding towards IT/IS, which is what IT (information Technology is all about?

I have said to myself I will stop arguing on this forum, but if you think that information system is not supported by Information technology then I would like to hear your view.

My understanding of information technology is network engineers pushing hard for new ideas/theories to help information system runs smoothly.  When I read your understanding of IT/IS then I will provide academic papers and literature to back my saying that Network Engineers makes everything happen in IT.

Before commenting you should research who are the IEEE
Programming › Re: Java Programming For Dummies by sbucareer(f): 1:59pm On Feb 18, 2006


I will be looking forward to seeing everyones Object Diagram and the Temperature.java class soon. It is nice to see you guys working hard to get the textpad to compile HelloWorld. Now that is out of the way, let do some serious software engineering.

Remember to upload your diagram first with accompanying Classes and probably the TemperatureDemonstration.java as well. Those that completed these tasks are the ones I will respond to their questions.

Thanks again guys, you guys are brilliant learner, and believe me with this attitude soon you will become Sun Certified Java Associate (SCJA)

Computers › Re: Internet Explorer, Mozilla Firefox, or Opera Browser? by sbucareer(f): 2:34am On Feb 18, 2006

You can try Microsoft Internet Explorer 7 here
Programming › Re: Is Assembly Language Dead? by sbucareer(f): 12:58am On Feb 18, 2006

@allonym, if I may ask, where do you work or the field of your work?
Programming › Re: Java Programming For Dummies by sbucareer(f): 12:39am On Feb 18, 2006


I have found another good IDE for java. Although I have not download and install it, I have otherwise read the requirements and people behind the development and it seems promising. The good thing about Dr java is that it is free.

If anyone is going to us it for this tutorial could you evaluate for like three weeks for us and post you thoughts about the IDE. It is a lightweight IDE. Gbenga, if you cannot get textpad to work I will recommend this as it does not require you to configure your path. Dr java comes with java 1.4 or 1.5 integrated into one download and does the whole path configuration all you need to do it write your code and compile.

Good luck

Note
-----------------

I agree with Seun, but people have their pace of learning and that does not make them incompetent. Netbean is easy to learn for people that have done some sort of programming in the past with other IDE and to adapt to new IDE will be easy. But in this case, a newbie cannot get textpad configured, it show how difficult it will really find Netbean. Mind you in Netbean, you have to add your jar to the environment which is like setting path, that could prove challenging to newbies.

But I see your point and would recommend it for intermediate programmers wanting to learn java.

Programming › Re: Java Programming For Dummies by sbucareer(f): 12:20am On Feb 18, 2006


Ok, gbenga explain to me the problems you are having with texpad? Does it compile? Does it not run?  I want you to do something for me. Go to your command line, I can see you are using window XP. From the start button click run and type cmd and click ok.

The command line interface will come up, at the prompt type c:\>java -verson.  if you see this picture below that means your path is working if not you need to go here and configure your path

The textpad is not showing the compile option because it cannot see your path to java.

Computers › Re: What Does Computer Networking Entail? by sbucareer(f): 12:04am On Feb 18, 2006

E-jaja, there are two types of Network gurus. One is the Network Engineer and the Second is Network support/Assistant either one, you'd need a specialized certification and experience to do them.

Look at it this way, without network Engineers or assistant  they won't be programmers or database guru or any IT application. If you are looking at supporting LAN you will need Microsoft certification(s) i.e. MCP/MCSE. On the other hand if you need to Engineer MAN/WAN networks you need CCNA certification.

If you are justing beginning networking career, I would advice you to first learn how to build PC install software and trouble shoot at least window 95, ME and 2000. These will lead you to acquiring A+ and go into other branches of networking career.

As an engineer like Gridlock said you need to understand your cabling i.e. copper wires, fiber optic, UTP, STP and how much bandwidth each one is allowable?

Good Luck.

Programming › Re: Java Programming For Dummies by sbucareer(f): 11:13pm On Feb 17, 2006

Gbenga, I can see you code has NOT been saved, as the name on the left navigational panel still says Document1*. The * means it has not been saved after the last modification. Besides, I told you that you must save the file as the same name as the class, for exaple.

If I have a class called HelloWorld like below

import java.lang.*;

public class HelloWorld extends Object{
  public static void main (String args[]){
         System.out.println("Hellow World"wink;
   }//End main
}//End program HelloWorld


I MUST save the class as HelloWorld.java

Programming › Re: Java Programming For Dummies by sbucareer(f): 8:16pm On Feb 17, 2006
[size=24pt][center]Tutorial addition[/size][/center]


Let look at Java Reserved keywords. What is java reserved work. These words are reserved as you cannot use any of these words as names in your programs. Remember that true, false, and null are not keywords but they are reserved words, so you cannot use them as names in your programs either.

What are names. It is refered to variable names, like in our above Radio software example, frequency and volume are variable names that holds information about the Object called Radio. Remember that variable names are devlopers choice, and can be confusing if a devloper do not choose appropriate name depicting the issue at hand.

Therefore java has come up with reserved keyword that can never be used or allowd to be used by developer to asigning their variable the reserved keywords. It is equally important you understand these keywords as you program will fail to compile if you used them.


[table]

[tr]
[td]abstract[/td][td]continue[/td][td]for[/td][td]new[/td][td]switch [/td][td][/td]
[/tr]

[tr]
[td]assert[/td][td]default[/td][td]goto[/td][td]package[/td][td]synchronized[/td][td]boolean[/td]
[/tr]

[tr]
[td] do[/td][td]if[/td][td]private[/td][td]this[/td][td]break[/td][td]double[/td]
[/tr]

[tr]
[td]implements[/td] [td]protected[/td][td]throw[/td][td]byte[/td][td]else[/td][td]import [/td]
[/tr]

[tr]
[td]public[/td] [td]case[/td][td]enum[/td][td]instanceof[/td][td]return[/td][td]transient [/td]
[/tr]

[tr]
[td]catch[/td] [td]extends[/td][td]int[/td][td]short[/td][td]try[/td][td]char[/td]
[/tr]

[tr][td]super[/td][td]while[/td][td]native[/td][td]class[/td][td]finally[/td]
[/tr]

[/table]

The keywords above are the ones I can remember, if you need to know all the keywords vist here
Computers › Re: Linux or Windows Operating System? by sbucareer(f): 2:24pm On Feb 17, 2006

hahahahahaaaa!!!  GridLock you are so right. But a little encouragement should be given to newbies wanting to learn unix.

I get messed up my self with unix and windows command. So this is what I have done. In my fedora core 4, I have modified my .bashrc and added alias to windows command i.e.

alias cls='clear'
alias cmd='/usr/bin/emacs'
alias ipconfig='/sbin/ifconfig'

etc,

Remember to source your .bashrc i.e. [root@nairaland.com ~]$ source ~/.bashrc
Programming › Re: Tutorials On Game Programming by sbucareer(f): 2:06pm On Feb 17, 2006


Gridlock, let me try to write a 3D graphic that inherited some behaviors from 2D. It has been long since I did some work like this. If it did not compile let me know.

struct g3D : g2D { // 3 Doubles (Used as x 3 Dimensional Point or Vector)
 gCoord z;
 g3D() {}
 g3D(gCoord x, gCoord y, gCoord z) : g2D(x,y), z(z) {

}

 explicit g3D(bool Zero) {

   if(Zero)
     Clear();
}
 g3D(double* DDD) : g2D(DDD) {

   z=*++DDD;
 }

 void Clear() {
 
   g2D::Clear();
   z=0;
 }

 g3D& operator*=(const gCoord& c) {
     g2D::operator*=(c);
     z*=c;
    return *this;
 }

You generally get the idea? the clear function is generally written as x=y=z=0;

Vertices
The g3Point and 2gPoint are used to stick the vertices by providing the arithmetic operation

Vectors
g3Vector and g2Vector will well depend on the graphic package u are using. Look for more information on these.

Remember that gCoord B=1.000000001;
B=acos(min(max(1.0, B), 1.0));
This will not stop the value of B as expected.

Programming › Re: Tutorials On Game Programming by sbucareer(f): 1:36pm On Feb 17, 2006


@Gridlock, what data structurer/objects/primitive data are you trying to manipulate?

Programming › Re: Tutorials On Game Programming by sbucareer(f): 12:53pm On Feb 17, 2006


Why don't you create your own collection framework? I'd thought that array, vector, map etc, are there to help solve the issues of handling big amount of data structure.

Here you can create your own data structure like this.

// Container.h
// Definition for class Container

#ifndef CONTAINER_H
#define CONTAINER_H

class Container {

  private:
    Container *ptr;

   public:
                 
     Container();
     ~Container();

     Vector getElement();
     void setElement( Vector *ptr);

};
#endif

Now right a Member definition for the Container class

#include <iostream.h>
#include "Container.h"

using std::cout;
using std::endln;

Container::Container( ){
//do your routine here
}

Container::~Container(){
//destroy your objects
}

Vector Container::getElement(){
  //Manipulate your *ptr to collect all your objects in the class
}

void Container::setElement ( Vector *ptr){
//Set all your object to the class
}


Try the above solution and tell me if it worked for you. Good Luck
Programming › Re: Java Programming For Dummies by sbucareer(f): 1:25am On Feb 17, 2006

Do this, click on tools and find compile when it has compiled successful, go back and click run. You must make sure you PATH is set

Programming › Re: Java Programming For Dummies by sbucareer(f): 1:08am On Feb 17, 2006

Click here or Google

Remember the java source file name must be the same with class name

Programming › Re: Java Programming For Dummies by sbucareer(f): 5:07am On Feb 16, 2006


I agree with Seun, but people have different pace to learning. Eclipse may prove difficult at the initial stage, but if you have been doing some sort of programming before and have used some sort of IDE, then I will recommend downloading Netbeans+JDK 5.0 like Seun said.

This is the oficial website for Netbeans, you can find tutorials on quick start with java

Good Luck.

Programming › Re: Java Programming For Dummies by sbucareer(f): 1:02am On Feb 16, 2006


Kenniy, have you looked at tutorial on installing the required software? If you want me to teach you eclipse, open another thread for eclipse. It is one of the most powerful IDE for Java, C/C++ etc. initially developed by IBM and given to open source community

Rather than starting a new thread I have found useful article at IBM website on how to use eclipse

It cost IBM $40 million to developing Eclipse and releasing it as an open source project, to the Eclipse.org Consortium, so you are working with a powerful IDE. If you know how to use eclipse, you can even plugin your application into eclipse. Like microsoft browser that allows you to plugin shockwaves, flash movies etc.

This is one of the easiest IDE for student, install and use no configuration required Ready to program. If you have a problem with ready PM.
Programming › Re: Java Programming For Dummies by sbucareer(f): 8:25pm On Feb 15, 2006

Thanks, Zule.
Programming › Re: Java Programming For Dummies by sbucareer(f): 8:02pm On Feb 15, 2006
[size=24pt][center]
Help with tutorial
[/size][/center]


I have Identified some attributes and methods for the tutorial above.

Attributes
[list]
[li] celsius[/li]
[li] fahrenheit[/li]
[/list]

Methods
[list]
[li]getCelsius[/li]
[li] setCelsius [/li]
[li] getFahrenheit [/li]
[li] setFahrenheit [/li]
[/list]


Wicked, to draw the Object diagram will be peace of cake now. Remember as a developer you should have a way to allow your system to give feedback.  Remember in previous artifact, we had a boolean method to tells us if the radio is working or not i.e. isRadioWorking().  There is no different to thhis software. We have to provide a method to query the Software, is the temperation software working or not? I will leave that to you to figure out.

Remember to optimize you graphic upload. Don't make it too big. I use fireworks and save as .gif. Gif is a good digital optimization package.

A common graphics format that can be displayed on almost all web browsers. GIFs typically display in 256 colors and have built-in compression. Static or animated GIF images are the most common form of banner creative.


Programming › Re: Java Programming For Dummies by sbucareer(f): 1:21am On Feb 15, 2006

Thanks for that mochafella, I am typing straight into the forum, I think I will need to use IDE so all these little mistakes would be corrected for me. mochafella you are welcome to contribute you thoughts.

Correction please. import java.lang.Object, thanks mochafella
Programming › Re: Java Programming For Dummies by sbucareer(f): 12:25am On Feb 15, 2006

Download JDK5.0 only. Don't download with Netbeans or J2EE. if you know how to use Netbean you can download JDK 5.0 with Netbean else just download the Java Development Kit 5.0 only.

J2EE, will be when you have learned Java very well, That version is for distributed application, comes with HTTP server and JDBC, JDNI, Web Enterprise, Enterprise Application, Web services and Enterprise Java Beans. You are not ready for this yet. But after this tutorials I bet you would be.

Programming › Re: Java Programming For Dummies by sbucareer(f): 10:57pm On Feb 14, 2006

Every assignment I post here will be a week from the day of post. Example if I post an assignment today Tuesday, I will like to see the answer next week Tuesday. It does not matter if you get it right or wrong and please don't be ashame we are all learning it will help somebody in the future who may want to use this forum as a guide to learning Java/C++ programming to see that the road it not easy.

Besides I can monitor your progress from the public eyes.

1 2 3 4 5 6 7 8 ... 25 26 27 28 29 30 31 32 33 (of 38 pages)