Sbucareer's Posts
Nairaland Forum › Sbucareer's Profile › Sbucareer's Posts
1 2 3 4 5 6 7 8 ... 21 22 23 24 25 26 27 28 29 (of 38 pages)
mimoh_mi, good to hear from you again. I have been of the forum for like 3 to 4 days now. Just got back! Fantastic, you are doing some personal project? I hope you already have some plan of marketing it? For what it is worth, it would be a delta experience. I have looked at your code and it looks alpha, but I was thinking using DB this way will not scale very well in production site. Why don't you use Session Beans rather to Entity beans. You know only entity beans talks to DB. Session beans talk to entity beans. In your Session bean use stateless and employ Java API Vector, Collection to store the session states. Then use Iterator to look through your objects and provide a button to commit or destroy the state. When the commit is click then the Stateless bean will transfer the object(s) to entity bean(s) for DB persistent. This will not only help your application with load-balancing and scalability, it would take of the processing power needed to handle every request as an entity transactions. If you ask me I will not use DB on this project. I will use XML and employ SAX Simple API for XML or any other API for XML, lots of them. That would allow easy deployment at client site. Let us know your progress. |
Sorry boys I was sent to Belgium for three days seminar by my company, that is why there was a silent. Anyway I am back. Papa, this is final year students work at university level. At most ending of second year semester at higher education. These newbies needs to understand API,s and general programming language syntax before solving this complex mathematical assignment. Remember most programmers are not mathematicians and would find this analytical problem challenging. It does not make them incompetent or less intelligent. Just as a web designer can produce a complex web page presentation without a mathematic skill to a graphic designer who has very strong mathematical skill and still produce the same quality of presentation view. Point is, the assignment is too hard for them now. After getting the nitty-gritty of programming then, the brave onces can attempt this solution. Remember before you start this papa assignment, you need to have solved the mathematical equivalent solution. You need to use pen and paper and try to convert decimal to Roman numeral and vise-versa. Papa if you want to help them, provide a mathematical solution to the problem and leave them with the task of writing the programming equivalent code. |
Alexis, thanks. Regarding JSP materials, I use Wrox textbooks a lot i.e. Professional Java Server Programming ISBN 1-861002-77-7, Beginning JSP Web Development ISBN 1-861002-09-2, for EJB and J2EE search wrox. JSTL and JSF, I use Oreilly books and they also provide online example and tutorial. You can do google search The new people I am trying their books are the digital gurus. I am still reading their JEE 5 and so far so good. You can try it yourself but I have not finished it so could not give you my thumbs-up. |
Alexis, if you are still in contact with this girls ask her to come and visit Niaraland.com. I would love to meet her. She is very skillful if she was the one that designed that website. I would be coming to Ghana ending of April, I am conducting a research in Ghana and propably setup an IT business in Ghana. If successful, I would not mind to employ her for Java web application consultations. |
I would need to speak with you Alexis. Email me your Mobile or Phone number [email=valentine.obih@gmail.com?subject=ISP provider in Ghana]here[/email] I will call you later. Otherwise if you are on skype by handle is sbucareer. Latest! |
Ok, start the thread and do all the necessary introduction and tools to use, I will help you with the tutorial focusing on developing application using PHP. I will also help with web application. |
Now for the assignment, I want people that are still interested in this thread and are doing there homework like Skima for example to do the following assignment by the end of next week. Assignment requirements ========================= 1. A UI diagram of proposed LagosTemperature 2. A Layout Management Diagram of LagosTemperature 3. A View class to model the LagosTemperatureView 4. A Controller class to model the LagosTemperatureController When I see a reasonable solutions uploaded here I will continue to the next stage of the tutorial, which is Exception handling and Concurrency in Java using few of the java API like Thread class and the Runnable interface. After that we will go into Sockets class and Networking connections with a case study of writing chat application using our UI skills. Towards the end, we will then look into JDBC, which is to do with relational database and how java provide a bridge to ODBC by using JDBC. We will conclude with a GUI case study on how to write a java application to store and record a call logger system using Access Database as our persistent storage. Good luck. |
When you run the LagosRadioController.java, you are offered with two choices, one is to run the java as Application or the other one as an Applet. If you'd choose applet go to the radio package directory and edit RadioLagosController.html to this values highlighted in red below: <html> <head> <title> The LagosRadioController applet </title> </head> <body> <h2> Here is the LagosRadioController applet </h2> <hr> <applet code="LagosRadioController.class" width="440" height="500"> </applet> <hr> </body> </html> if you want to put LagosRadioController.html on a different directory i.e c:\LagosRadioController.html and your radio package is in c:\temp\radio\*.java then this is what you do my editing this section of the html code <applet code="temp.radio.LagosRadioController.class" width="440" height="500"> |
You see I am a Java advocate, would contradict myself if I begin to teach PHP. If I do that I will not be able to defend Java properly. I can teach PHP like the way I teach Java but I have some irritating feeling about PHP as it is a very un-typed language with little or no usage in Enterprise Application development and cause maintenance issues. PHP is not modular and lack API support like C/C++. I love C and code every day in C, but for a new beginner C would be virtually impossible because no support for API like java that is why I advocate for Java and Java is going places. Some PHP gurus in the house help alexis, or have you lot denied PHP now? |
It is a wrong move for any bank to out source their web hosting, especially if they plan to do e-banking. They should consult you to help them build there own web hosting and employ application developer to write the e-banking. I am not saying your host is not secure, Note that. What I am saying is that it is a very wrong move. If you like the bank go back and ask them to help build and secure their host server for them. If I were customer of the bank and find out the bank is out-sourcing there host server processing the e-bank to another public host company. I'd close my account straight away. I don't know of any but there are host companies that specializes in hosting banks apps. They don't host for any other people apart for banks. Can you tell me how much you paid for that 1U rack server? |
Now I have managed to layout the Java containers in using few Layout Managers. You can tweak the code to see if it behave differently. That is the only way to learn by messing the code up and trying to debug it yourself. Anyway I am done with the LagosRadioView.java class. Not that the UI is very good but at least we can carry on with the tutorial. You can modify it and come up with a good UI that is better than mine. I challenge you! I will be concentrating on the LagosRadioController.java where the action is. This class will capture all the button events and process them i.e. increase volume, decrease volume and change the frequency. Because we have registered the buttons and textArea component in LagosRadioView class using addActionListener and addDocumentListener we can now write code in the actionPerformed method in LagosRadioController class and update the TextArea by incrementing the value when the + is pressed and decrease it when the - is also pressed by using the three methods insertUpdate, changedUpdate and removeUpdate |
Skima, give me April ending that is when I will finish my contract at where I am working now I will be in London at the end of the April I will send you all the software and even more goodies I have for you for the delay. Please bear with me. Here is how it would look like when you run it now. Watch out the above code as I keep updating it. No need to waste space by reposting it again.
|
Below are the two classes. LagosRadioView /* * @(#)LagosRadioView.java 0.1 28/03/06 * * Copyright 2006 Niaraland.com. All rights reserved. * Nairaland PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package radio; /** * The class building LagosRadio UI. * @author Valentine Obih * @version 0.1 28/03/06 * @since 0.0 */ import javax.swing.JPanel ; import javax.swing.JTextArea; import javax.swing.JTextField; import javax.swing.JButton; import javax.swing.event.DocumentListener; import javax.swing.UIManager; import java.awt.Font; import java.awt.BorderLayout; import java.awt.GridLayout; import java.awt.FlowLayout; import java.awt.event.ActionListener; public class LagosRadioView extends JPanel { private ActionListener listener; private DocumentListener documentListener; private JPanel mainPanel; private JPanel mainPanelNorth; private JPanel mainPanelCenter; private JPanel mainPanelSouth; private JTextArea jtDisplay; private JTextField jtfrequency; private JTextField jtVolumeUp; private JTextField jtVolumeDown; private JButton volumeUp; private JButton volumeDown; private JButton frequencyUp; private JButton frequencyDown; //Constructor, construct all the component to initial values public LagosRadioView(ActionListener listener, DocumentListener documentListener){ try{ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName() ); }catch (Exception e ){ e.getMessage( ); }//End this.listener = listener; this.documentListener = documentListener; this.setLayout ( new BorderLayout() ); mainPanel = new JPanel(); mainPanel.setLayout (new GridLayout(3,1,2,2) ); mainPanelNorth = new JPanel (); mainPanelCenter = new JPanel(); mainPanelSouth = new JPanel(); mainPanelNorth.setLayout ( new FlowLayout() ); mainPanelCenter.setLayout ( new GridLayout( 2, 2, 2, 2) ); mainPanelSouth.setLayout ( new FlowLayout() ); jtDisplay = new JTextArea ("96.9", 5, 37); jtfrequency = new JTextField( ); jtVolumeUp = new JTextField( ); jtVolumeDown = new JTextField( ); jtfrequency.setText ( "Adjust Frequency" ); jtVolumeUp.setText ( "increase volume" ); jtVolumeDown.setText ( "Decrease volume" ); jtVolumeDown.setEditable( false); jtVolumeUp.setEditable (false ); jtfrequency.setEditable ( false ); volumeUp = new JButton(); volumeDown = new JButton(); frequencyUp = new JButton(); frequencyDown = new JButton(); //Register each to an action listener volumeUp.setActionCommand( "Up" ); volumeDown.setActionCommand( "Down" ); frequencyUp.setActionCommand( "+" ); frequencyUp.setActionCommand ("-" ); volumeUp.addActionListener ( this.listener ); volumeDown.addActionListener ( this.listener ); frequencyUp.addActionListener ( this.listener ); frequencyDown.addActionListener( this.listener ); jtDisplay.getDocument().addDocumentListener( documentListener ); volumeUp.setText("+" ;volumeDown.setText("-" ;volumeUp.setFont( new Font ("Dialog",Font.BOLD, 24) ); volumeDown.setFont( new Font ("Dialog",Font.BOLD, 24) ); jtfrequency.setFont( new Font ("Dialog",Font.BOLD, 24) ); jtVolumeUp.setFont( new Font ("Dialog",Font.BOLD, 24) ); jtVolumeDown.setFont( new Font ("Dialog",Font.BOLD, 24) ); jtDisplay.setFont( new Font ("Dialog",Font.ITALIC, 14) ); frequencyUp.setText("Up" ;frequencyDown.setText( "Down" ); //Set all the component into the mainPanel and position them nicely mainPanelNorth.add ( jtDisplay ); mainPanel.add (mainPanelNorth, BorderLayout.NORTH); mainPanelCenter.add ( volumeUp ); mainPanelCenter.add ( jtVolumeUp ); mainPanelCenter.add ( volumeDown ); mainPanelCenter.add (jtVolumeDown ); mainPanel.add (mainPanelCenter, BorderLayout.CENTER); mainPanelSouth.add ( frequencyUp ); mainPanelSouth.add ( jtfrequency ); mainPanelSouth.add ( frequencyDown ); mainPanel.add ( mainPanelSouth, BorderLayout.SOUTH ); this.add( mainPanel); }//End Constructor public String getTextArea ( ){ return jtDisplay.getText(); }//End getTextArea public void setJTextArea( int toSet){ double defaultText = Double.parseDouble( getTextArea()); double d = defaultText - (double )toSet; String set = Double.toString( d ); jtDisplay.setText( set ); }//End setTextArea }//End LagosRadioView LagosRadioController /* * @(#)LagosRadioView.java 0.1 28/03/06 * * Copyright 2006 Niaraland.com. All rights reserved. * Nairaland PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package radio; /** * The class building LagosRadio UI. * @author Valentine Obih * @version 0.1 28/03/06 * @since 0.0 */ import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.event.DocumentListener; import javax.swing.event.DocumentEvent; import javax.swing.JApplet; import javax.swing.JFrame; import LagosRadioView; import LagosRadio; public class LagosRadioController extends JApplet implements ActionListener, DocumentListener { private LagosRadioView lagosRadioView; private LagosRadio radio; public LagosRadioController( ){ lagosRadioView = new LagosRadioView( this, this ); radio = new LagosRadio ( ); }//End Constructor public void init(){ this.getContentPane().add( lagosRadioView ); }//End init //Any class that implements ActionListener //interface MUST implement this method public void actionPerformed(ActionEvent e){ String event = e.getActionCommand(); if (event.equals( "Up" ) ){ radio.setFrequency( 1 ); radio.FM(); lagosRadioView.setJTextArea ( radio.getFrequency() ); }if (event.equals( "Down" ) ){ radio.setFrequency( 1 ); radio.AM(); lagosRadioView.setJTextArea ( radio.getFrequency() ); }if (event.equals( "+" ) ){ radio.setVolume( 1 ); }if (event.equals( "-" ) ){ radio.setVolume( 1 ); } }//End actionPerformed //DocumentListener implement three methods, insertUpdate, changedUpdate. removeUpdate public void changedUpdate (DocumentEvent ev ){ }//End changedUpdate public void insertUpdate (DocumentEvent ev){ }//End insertUpdate public void removeUpdate (DocumentEvent ev ){ }//End removeUpdate public static void main (String args[]){ JFrame frame = new JFrame ("Radio for Lagos people" ;LagosRadioController demo = new LagosRadioController(); frame.getContentPane().add ( demo ); demo.init(); frame.pack(); frame.show(); frame.setLocation(500, 100); frame.setSize(430, 600); frame.setVisible(true); }//End main }//End LagosRadioController Remember that these classes will be modified to look like this |
These two class is the class we will be working on from now. To run the application use the LagosRadioController to run it and to build the UI, we use the LagosRadioView. As the code stands now it compiles and run. there is the output of the LagosRadioController
|
We are going to use one interface in this our application development. We are going to use a class called ActionListener. What this interface does it listen to events that are registered to it, like clicks. When our LagosRadioView class fire an event to a registered components like button, the implementing class will process the events and return and update UI for us. ActionListener only have one method in it called actionPerformed. If an interface specify any number of interface you MUST implement all the interface unless there is an Adapter class that can allow you to implement just one method. We will cover that later. This is an action Listener API /* * @(#)ActionListener.java 1.16 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.awt.event; import java.util.EventListener; /** * The listener interface for receiving action events. * The class that is interested in processing an action event * implements this interface, and the object created with that * class is registered with a component, using the component's * <code>addActionListener</code> method. When the action event * occurs, that object's <code>actionPerformed</code> method is * invoked. * * @see ActionEvent * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/eventmodel.html">Tutorial: Java 1.1 Event Model</a> * @see <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">Reference: The Java Class Libraries (update file)</a> * * @author Carl Quinn * @version 1.16 12/19/03 * @since 1.1 */ public interface ActionListener extends EventListener { /** * Invoked when an action occurs. */ public void actionPerformed(ActionEvent e); } |
I have been on about API's and now you should all be familiar with Some few Java API. I would like the reader to demonstrate fluently the use of 10 API,s by the end of this week. Like our Radio class we developed was an API. It does not, but if we use it in LagosRadio class it actually becomes a software. I would like you to look in Object API. You extends your Radio class to Object. I want you to tell me all the attributes and methods in Object class. Now, let look at interfaces. Java do not support multiple inheritance like other language. In c/C++ a class can inherit many classes i.e. class Point:: Public Circle, Public Triangle{ public: Point( int=0, int =0); ~Point() protected: int x, y; }; } In the above C/C++ code we can see that Point class have inherited two classes Circle and Triangle. In java we cannot do this. We can only inherit one class at a time. i.e public class Point extends Circle{ public Point (int a, int b){ a = 0; b = 0; } } If we want to inherit Triangle we'd done this public class Triangle extends Point{ public Triangle (int a, int b){ a = 0; b = 0; } } Remember we can still access Circle from Triangle class because Triangle extends Point, which extends Circle. This is efficient so we can build a mudular and maintainable software not a spider sotware will classes modular heritance all over everywhere, well that is what people at sun microSystem thinks. Another improvement in modularity was interface. Modularity is building software in modules. Remember our Radio class is one module and our LagosRadio is another module, we can build GlobalRadio, LondonRadio, USARadio and many more my extending to our one class Radio module. The emphasis is focused on maintanenace. We do not need to change all our classes when Radio mmaintenances. Imagine in our Radio Module we change the frequency from int to double because of requirement change. If we have 12 thousand application using that Radio Module, we are in trouble in respect to changing every class fron int to double. But if we had used interface we do not need this issue. " An interface is a specification that exists between software components that specifies a selected means of interaction, by means of properties of other software modules, which abstract and encapsulate their data. " This mean that an interface is just a specification not really and API. It just specify a way for interacting with other modules in the system, the way they interact is left for you to implement it. Interface provides a methods signatures to components or modular interaction but do not provide implementation of the interaction. The implement ation is left for the developer|_ Here is an example of interface: public interface Radio{ public void setUpRadioStation(); } Now if I want to setup a LagosRadio station I will use the interface called Radio like this public class LagosRadio implements Radio{ public LagosRadio(){ } public void setUpRadioSation(){ , My implementation go here } } If anything changes in Radio interface, it is nothing to do with LagosRadio because my implementation was supplied by me. and many other application can use Radio interface. |
I would like people with heavy PHP skills and experience to disseminate some of their skills here by providing a comprehensive tutorial on PHP, covering web application development and Standalone application. The tutorial should not have a pointer to a website of PHP tutorial any pointers would be on how to download all the necessary tools needed to write, compile and run PHP. If you were wondering on a Java tutorial, go to this thread where gbengaijot start a thread on Java. Come back here and tell us if Java Has Failed and which programming language Rocks |
Please if you have the solution just give it to this man. At least in the binary code, put your name in the author section and put code proprietary license, contact needed for any code re-modification and re-distribution. And register it under the GNU license. |
You are too naive or not accustomed with blind people accomplishment in todays modern society. I will not tell you the name of the software, because we are not allowed to say. But a recognition software that allows them to read print from their punch cards to the voice recognition software specially build for them and the software translate it to program, very easy if you knowledge can comprehend it. Deaf people, off course can see, but with the help of special software which I will not mention here lets them hear or mimic hearing. Do you want to tell me that blind people cannot read and write? If you can answer that question then they can read the computer and write the company programs. I don't want this to be a debate. If you can not understand technology it is up to you. A simple google search can give you examples of blind and deaf using computer, it is no rocket science. It is only the IT company that I work for can afford such a research and promot equal employment opportunity like this. Mind you a blind man was once a Home Office Secretry of UK. Now tell me whether he uses computer or not? Zahymaka, I am suprise that you are in the USA and do not know these things? What a shame! |
Note that I am using hand coding, if there is any code or syntax error try and correct it yourself as it is part of your learning if for any reason you cannot correct it let me know. To facilitate modular software development. I will be using MVC to developing the LagosRadio artefact, hence software. Remember that MVC means Model View Controller Model is application that make use of database or other external persistent facility or wrapper to a network or data model structure. Since we are not yet mapping our object to any external persistent like internet or database we will not be using Model on this application development. View is the Visual representation of the artefact, hence software. It is is where you build and layout all the UI (User Interface) and presentations without any functionality. The Controller is where all the functionality of the application is coded. Example when events are generated from the View it is registered to a Controller that will process it and send update UI back to View. We are only going to use View and Controller. Our UI would be View and it would be called LagosRadioView.java class and our Controller will be class that processes the changes from the UI and we should call it LagosRadioController.java |
Not even that, most commonly mistake self-host web designer do is to install software and leave it with the same default setting it came with. If you are using Apache from version 2.0, you MUST change and configure your httpd.txt file. If you are running it with PHP, you MUST configure the default setting of php.ini. If your platform is Windows, MUST run at least service pack 2. And, disable all you directory listing. Always configure your Apache server with a password. When you finished installing Apache server with admin account log out and login with user account. You must have just one computer for your web server, from the router open port 80 and block all other ports to that web server. If you are serving only Nigeria customers, in your httpd.txt accept IP address from all known Nigeria ISP. If your business is global leave that and make sure your window is running at least service pack 4. If you use Unix flavor, I don't think they would be able to hack you. Still in Unix do the above issue, changing the httpd and php files. Read about Unix iptables and configure your firewall and router. If all these are done, the only way a hacker can hack you is by phising, when when it happens start looking at people close to you like your friends and girlfriend you'd dump with vulgar. |
Did someone cared to read the W3C guidelines? I don't want this to end up into arguments please people, I have no energy to arguments anymore. World Wide Web Consortium published some guidelines around 2001 to rendering HTML,XHTML,DHTML on the World wide Web. The key focal point to this guidelines was accessibility. It addresses the way people access the web regardless whether they are blind, deaf, eyes problems. The accessibility did NOT cover browser compatibility. The browser compatibly was actually in Technology and Society Domain guidelines and hammered on the issues of Semantic Web Activity covering web compatibility including Mobile device. The point is that Compliant with Flash do not and cannot cover the accessibility to wide range of internet users like blind people and deaf. But W3C uses the Accessibility Guideline to bridge that rhetoric gap. Example of guidelines was developer locking there application to a default font-size so people cannot increase it from the browser when they cannot read the font-size. Another issue covered was audible (Sound) for deaf people. Your page should use sound to show that an action is done like click and url links. People that have movement problem especially hand movement problem should be able to see a brief description of a link before clicking, hence use ALT HTML tag i.e <img src="imge.jpeg" width=200 height=500 ALT="My Picture when I visted Africa, 2001" onMouseOver="say_My_Picture_when_I_visted_Africa_2001.wav" onClick="changeTextToSize24Point.js"> These issues help disabled people in any form to use the internet with ease. 1ofAll put a link to the guidelines and I suggest people should read the guidelines. This is the guidelines 1ofAll put up. If you read the content page of the guidelines you will see no mention of browser compatibility issues, incase you do not want to read the whole article, which I think you should for web designers. Remember as new technologies becomes available only those that have a W3C web site compatible will customers be able to login to there sites. Where I work we have 3 blind programmers and 1 deaf Java guru developer. If equipments and web page were not accessible believe me it would be difficult for them. But thank God for these guidelines and standards. |
There are serious issues migrating from one Oracle to another. Last month my company send me to Oracle seminar hosted in London. Top of the question that day was on Oracle migration. It has never been easy migrating from one version to another. Oracle 8i to 10g would need a very experience oracle migrator or even an Oracle consultant could help in the migration process. Forms, 6i is very old and uses Oracle old API's The form 9i uses new revised API's with advent of Java new Web Applet, you can quickly design a form using Web applet or HTML with rich and easy API, look here for examples You can ask your organization to run 10g parallel with the existing 8i. There are tools out there for migration. Search goole for tools for data migration. Remember to back your original data before migrating. What we have done in our company is to run our legacy system, DB2 with our new 10g. Although all the information in DB2 is now in 10g, many users still like the power and other functions DB2 gives them. Maybe they don't like Java, so they use VB on the DB2. We have a middleware that runs every one hour to cascade the changes between our db2 and 10g. It uses a function called update call to check if changes have occurred in the last update session so that the state of both database remain consistant. |
I have been writing oracle forms using Java, JSF, JSTL and BPEL. I use oracle 10g that comes with Oracle J2EE server, HTTP server, Application server and Oracle database server. It has many templates to designing forms so you do not need to start from scratch. Like field validate using JavaScript or database triggers. UI templates for people without website development and nice front-side presentation. The next version will come with flash template for client interested into flash web presentation. You can customize the flash by changing logo, speed text, color, position and much more. You can visit oracle and find out more about developing forms using oracle db. You can use PHP, Topspeed and Middleware connectivity for VB and other legacy system, visit Oracle Technology Network for more information. NOTE ----------------- JSF Java Server Faceses BPEL Business Process Execution Language JSTL Java Server Tag Library UI User Interface Here is a link to oracle tutorials Documentation |
FDeveloper, you are quite right. The issue of language technologies and the concept of OOP (Object Oriented Programming) is the baseline to understanding Java and other OOP language. But wait, isn't VB an OOP? Well if you asked me, the answer I'd give is yes VB is a construct of OOP. But like what FDeveloper said, understanding the technological issues surrounding a platform/language is another key factor to graceful migration to another language. They key issue of programming to understanding it is the elements of its compound factors i.e. variables, variables type representation example int, char, boolean, String, byte, double, float and it Object equivalent i.e Float, Doublet, Integer, Character, Boolean, Byte Objects, have attributes and methods to access these attributes. Object could provide methods to change the states of these attribute. Example if we have an Object called Person and it hold personal attributes of one particular person called John. If John was 18 years this year, next year John would be 19. If we do not provide a method in the Object class Person to change John age, John will allways remain 18 years, which is a very serious bug in our program. Object encapsulate all the attributes, methods, static attributes of a particular instance of a class for example Person. Person is instantiated to an object called John. With John object, we can find the state of John by just calling it relevant methods i.e. getAge(), which will return 18. |
Typewriter, for your information I am NOT a professor and do not claim in any form in Nairaland to be a guru or Know all. Just that I have been involved in IT/ICT for at most 20 odd years. That has helped me to acquire some little knowledge in respect to IT, that is all. I don't know why you are tightening your fist? Are you looking to fight or do you want to learn and understand from other people NOT necessary brilliant people than you but those that their argument seem to make sense. I am very very sorry if my correction offended you this dipply. I must say that your Networking definition is very weak, since the topic of the thread was Networking. I thought I'd point out some few errors in your definition NOT to start another war. I am very sorry for that I will NEVER correct you again in future. For your information, I do not know anything. I am just a guy trying to survive in IT and learn from people and try to share my little knowledge with people that will endorse my idea(s). Sorry, I did not read your English Language theories about Entail I find it unnecessary and lengthy. sbucareer this is how I found it. I went to South Bank University, now it has changed to London South Bank University. After my second year I went to work placement as a partial fulfillment for student on sandwich programme, hence 4 years study. I was applying for jobs and my current email then gflex@hotmail.com was allways full of junk. If you must know gflex came about Game Flexibility as I play lots of games then, and my online handle was gflex. Coming back to sbucareer, I decided to open sbucareer as gflex was full of junk emails. I want to be able to open my email and know straight away that the email I got was work related mails NOT junk. As I was at South Bank University then, I decided to use sbu= S[/b]outh [b]B[/b]ank [b]U[/b]niversity acronym and add it to [b]career since I am looking for a career job. That is how I came about sbucareer user name. I did not need to tell you this or anyone for that matter, but lately many people have asked me what does it mean now you all have it. Finally, sorry again for correcting you it will never happen again I promise. Have a niceday. |
[quote author="Typewriter"]networking entails making two independent or more divices to work/communicate seamlessly or shamelessly to bring about desired out put[/quote]I respect your definition of Computer Networking, If your definition holds, then I would like my independent computer to seamlessy bring about desired output, which is to make me win British National Lottery. You see that your definition now has got k-leg. You definition do not cover all the necessary aspect of the network terminology, which has got to include seamlessly about linking of a number of devices, such as computers, workstations, printers, and AV(Audio Visual equipment) gear into a network (system) for the purpose of sharing network resources Also you have to include that the computers are at remote locations and uses internet, extranet, intranet using some sort of communication protocol i.e. TCP, NETBEUI, IPX, SMTP, SIP, POP, IMAP etc to communicate to each other. |
Sorry I have not been in the forum for like four days now. I was very busy over the weekend. Anyway, Seun what do you mean that it looks like directory file copy? I am dealing with binary manipulations, converting the binary bits of pdf to a supplied argument at the command promot by the use of special Java API for manipulating binary bits. See Java API for Stream Buffer classes Have you test the program to see if it work at all before postulating? I have actually written lots of these small task-management tool for my organization. If you have compiled it and run it by supplying two arguments at the commandLine, the first argument is the source file the second file is the destination file, i.e. c:\>java Main source.pdf destination.doc Run the argument at the commandLine and open up destination.doc and see if the content of source.pdf is not cascaded. Remember, you must have the source file in the same directory as the Main.java to achieve this. You can modify the class by using directory API to achieve running the file in any directory by supplying the UNC naming convention to the source file. I'd done that but since the thank you I get is that my program is a commandLine copy I will leave you to do the rest. |
Well done Seun, you will get there and don't hesitate. |
To be quite honest, food was my attraction. She really knows how to cook. Everytime I went to visit her I end up eating too much and passing the night at her house. From there I get to start knowing her and start liking her and loving her, you know the rest. |
Thanks for that, I have bookmarked it and will go through it later. |
1 2 3 4 5 6 7 8 ... 21 22 23 24 25 26 27 28 29 (of 38 pages)
;