₦airaland Forum

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

Stats: 3,345,597 members, 8,518,430 topics. Date: Saturday, 14 November 2026 at 08:26 AM

Toggle theme

Sbucareer's Posts

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

1 2 3 4 5 6 7 8 ... 13 14 15 16 17 18 19 20 21 (of 38 pages)

Programming › Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by sbucareer(f): 3:22am On Sep 15, 2006

mimoh_mi, you can use one controller to map all the requests from the model or view, although I have just started reading Spring in Action by Craig Walls, Ryan Breidenbach. I will give you my comprehensive opinion next week.

You see spring is cumbersome, look at the heavy object wrapping, application-xml, web-xml, object-xml configuration.

If you have used EJB, it would not involve all the heavy object relational mapping and brusque xml configuration. I wonder why people are running away from EJB? EJB 3.0 is even much easier using annotations.

Mimoh_mi, why are you using Spring? Is it a learning curve? Do you think it is easier to EJB? Anyway, your simple Personnel Object is quite big and you have not even write their transport protocol yet within the application server i.e. JMS or JNDI

Finally, I think I will learn spring for argument sake, so when I am arguing with someone about spring I would know what to say in my defense. I will stick with my EJB 3.0 and I heard another one is on the way, you know it only gets better.

An ORM (Object Relational Mapping)  like Hibernate is better wrapper of Java Object and database, it uses less config file and load objects like Microsoft DOM (Document Object Model)
Investment › Re: Stock Trading Euphoria by sbucareer(op): 1:57am On Sep 15, 2006

Thanks ckenneths, I would love a tutorial on bonds and debts, global market not only Nigeria market. But if any body knows more about other symbols please you can give me a pointer as to how it works, Thanks a bunch.

Investment › Stock Trading Euphoria by sbucareer(op): 1:49pm On Sep 14, 2006

Please this post is for people into the stock market and people already in the process of learning the stock market. Please forgive me if this post has thread that has been started somewhere in the forum, in anycase I would like someone to point me to it.

I would like to learn trading and possibly trading in just few months from now. The problem is most of these internet seminars and "One day training" courses don't seem to be very realistic.

I have actually attended one, and they course was rubbish and the fees was very high. I believe they extorted my money. I actually paid £1,600 for two days course that I did not learn anything.

Anyway, I need someone into the stock market particularly:

1. Bonds
2. Commodities
3. Funds/Loans
4. Equity
5. Debt
6. Currency

To explain these symbols or market terms for me. I already know how to trade currency, but I am looking to learning government bonds and debt. I would appreciate it if someone can help.

Also could you recommend an online trading company that one can use to executes these strategies.
Programming › Re: Why Ever Learn Programming? by sbucareer(f): 11:45am On Sep 14, 2006

Why does a programmer wants to site at the "state guvnor.- " I barely understood you words, beside a person with poor language or cognitive skill would find programming difficult, fact.

Why would Bill Gates, Larry Page, Eric Schmidt,  etc wants to become American President? Of-course they can if they wishes to. Who ever told you that a programmer has boring life? I would like to see you findings on this.

I will tell you about my work later, let start with big companies, at MS you are not allow to write more than 25 lines of code a day. Developing Windows, MS employed about 3,000 programmers, hence  25x3000 = 75000 lines of window code everyday. Most of windows OS takes about three years to develop.

Furthermore, 75000x52 weeks that make a year =3900000 x 3 years =11700000. I did not even get the Maths properly, I heard that window code is about 80Million lines of code.

You are still living in the past when programming job do not have separation of task, in economics, they use to say division of labour.

Before, in the past, designing an enterprise application involves designing and developing the application server, then designing the transaction rules and then employing programmer to design and develop the middleware and finally the programmers to code the application or business logic.

But look at it now, there are many application server about, there are many middlewares about, and many transcation management about.

I do not share you opinion that programmers of 21 century are out of touch with life, many are becoming millionaires and showing their faces on top magazines. You sound like a sleuth of programmers.

In my work place, I hope they are not reading this, I work  eight hours of any time of my choice, We have programmers that like night and those that like day, I included. We have a software that records how many hours you spent at work. Not how many hours worked. Some time I barely do any work. Being a Nigeria man I have additional job, so tell me the life I do not have?

I go to parties, clubs, have a girlfriend, she thinks the world of me and drive a fantastic Mercedes benz CLK 270 Kompressor AMG. Leave in a house of my choice and choose the time I go to work. My brother you must be in the wrong job to spew this chasm in your knowledge and personal life of IT professionals.


Programming › Re: Java Has Failed! by sbucareer(f): 2:11am On Sep 14, 2006

Africanboy, how do you control your program structure blocks? Braces allows you to have inner classes and method. You can packet an instruction or global command in a brace that have nothing to do with the program code.

Seriously Africanboy, get with grips with braces, it is good for us.

@darth
Advice taken, I will not post codes again. Thanks for your big up!!!

Computers › Water cooled Game PC by sbucareer(op): 3:08pm On Sep 13, 2006

I was searching the net and come across some interesting PC specification particularly Game PC. The site was a job search site. It says if you do not know these thing don't bother applying:

Please do not apply if you don't know the followings:

1. [url=http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=deskbar&q=define%3A+BIO]How to flash a mainboard BIOS[/url]
2. [url=http://www.google.com/search?hl=en&lr=&q=define%3A+VGA]How to flash a VGA BIOS[/url]
3. [url=http://www.google.com/search?hl=en&lr=&q=define%3A+RAID]How to install windows on RAID[/url]
4. [url=http://www.google.com/search?hl=en&lr=&q=define%3A+drill]How to use a drill[/url]
5. [url=http://www.google.com/search?hl=en&lr=&q=define%3A+dremel]How to use a dremel[/url]
6. How is a watercooled PC built
7. [url=http://]What is crossfire[/url]
8. [url=http://www.google.com/search?hl=en&lr=&q=define%3A+SLI]What is SLI[/url]
9. What is Conroe/Woodcrest

I did a bit of google search and came across there meaning. When I did a further search I came across a Game PC built with watercooled configuration. I said to myself wow!!! this is cool and I must share it with Nairalander.

I must admit, I have not build Pc for some years now but when I saw this picture it put my experience of building PC to a shame.

PS
I did not know that PCI has become and old technology like the ISA. The graphics now uses [url=http://www.google.com/search?hl=en&lr=&q=define%3A+PCIE]PCIE[/url] to accelerates it bits stream, wonderful.

Programming › Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by sbucareer(f): 2:50pm On Sep 13, 2006

Yes, but go ahead I might learn some new tricks from you. How do you set up JMS in spring?

I am on my lunch break and I am on my way to get those two books now.
Programming › Re: Looking For People Interested In Exploring JavaEE 5 And EJB 3.0 by sbucareer(f): 2:04pm On Sep 13, 2006

@candylips

Please can you post your recommended book(s) for spring. Could you also recommend an appServ for spring? Thanks a bunch. If you have time could you touch JMS or Transaction management on spring?

Computers › Re: HP Officejet Printer Problems (need qualified Technicians) by sbucareer(f): 1:57pm On Sep 13, 2006

Seun, I have checked the link you posted as to the place you purchased the printer. I would suggest emailing their customer support and directing them to this topic if they refuse to listen to you.

We can help you stage a protest for selling you a faulty printer that threaten you life by means of electrical shocks, by means of public boycott to the shop

Here is their customer support emails and the director information

Contact Us By E-mail:

info@chuks-pee.com

petcoms@yahoo.com
 

Contact Us By Fax:

234-01-4933910

DIRECTOR:
Nwafor Patience (Mrs.)
234 803 308 7010

Programming › Re: Java Programming For Dummies by sbucareer(f): 1:47pm On Sep 13, 2006

@clocky

I always advocate for hard framework and programming practices, the reason for this is that, IMHO is that if you learn the hard way to learn the easy way is very rewarding and straight forward.

JSF and JSTL are the first framework introduced by Sun and was Incorporated into J2EE and other web technology. No doubt, today framework has become easier and snazzy i.e spring, hibernate, even complete enterprise application development has been introduced i.e. Ruby on Rails.

My point is that if you can learn hard framework, your learning curve is completed. To move over to new framework will require you just hours to get acquainted. It works for me and that is why I am advocating it.

Remember that all this new frameworks are practically the same with the older ones just that some configuration is taken care of by the application parser or the development environment by the application itself.

Programming › Re: How Can I Become Oracle 9i Dba Cert. by sbucareer(f): 3:07pm On Sep 12, 2006

It would be ok to assume that you are ok with programming or at least script language. What to do to becoming Oracle DBA coming from Business Administration are:

1. Learn SQL (Structured Query Language)
2. Because it is Oracle learn PL/SQL
3. Learn database design and development, which includes normalizing database.
4. Install Oracle databas 10g and practice a lot
5. Register to yahoo or any popular forum for Oracle certification past question and test.
6. Since it is an investment into your life buy some online certification test exams and books (Recommendation, ebay, amazon and etc)
7. If money is not an issue try and join a none virtual community i.e. school or lessons.

When you finish get a job as a database assistance and start from there. Within two years you can become fully Oracle DBA. Good luck
Computers › Re: HP Officejet Printer Problems (need qualified Technicians) by sbucareer(f): 2:52pm On Sep 12, 2006

Seun, two months ago? Don't you have some sort of insurance on it or at least warranty? You should take it back to the shop you bought it. Unless you bought it without warranty. In which case you should really throw it away, we don't want anything to happen to you. We need this forum to be kept up and running.

If it gives you electrical shock! It is very serious Seun, you should really consider to thrown it away, not even fit to give it to someone or else you don't like that person.
Computers › Re: Urgent Help Needed With Hidden Files by sbucareer(f): 2:41pm On Sep 12, 2006

Another way is to use System Restore if you are using XP/Pro. I will really like to see some people answers to this issue. I can belt they would never find the solution.

Unless you have access to Window Runtime level signal commands to understand what is giving the shutdown command, and the answer is no you don't.

Remember, I am not Microsoft or work for them all my contribution here is mere recommendations. You can take it or leave it. As I can see here my recommendation is the only forthcoming one.

If you don't have recommendation or solution just don't come and show your snazzy words and disappear.

PS
Make sure your System Restore is to the last point before this issue started
Computers › Re: Help. Virus Attack by sbucareer(f): 2:30pm On Sep 12, 2006

[s]It might not be a virus. For precaution sake lock the diskette by sliding the read/write lock at the bottom right corner of the diskette. Slid it down so you are able to see a hole through the slider, this will make it read only. Even if it was a virus, the virus cannot transfer itself to your PC or notebook[/s]. moderator says: this is wrong And the author says, what was your reasons?

You may have try to open a file in your diskette by answering Always use the selected program to open this kind of file. It is a window pop-up message when you tried to open a file that window do not understand its extension.

If you choose yes, window will convert the default opening program to that application you clicked yes to. Put the disk into a computer, make sure the diskette is read only and try to right click a file and choose open with and select a proper program that opens that particular file and choose yes open all apps with it.

If this is not the case, search the net with phrase like exe virus etc to see if someone has reported this sort problem before.
Computers › Re: HP Officejet Printer Problems (need qualified Technicians) by sbucareer(f): 1:18am On Sep 12, 2006
Seun: I have a problem with my printer. It doesn't even come on anymore and I get electric shocks when I touch it.

hahaha!!! Seun, throw the goddamn printer into the history of dirts, the rubbish bin.
Computers › Re: How To Copy MP3 From Computer To Phone by sbucareer(f): 1:07am On Sep 12, 2006


Data exchange with PC

via IrDA, data cable or SyncStation optional accessory. Uses 9600 bit/s. This is what you need to buy, data cable.

The one above do not include your SL45 Model, hence you can get it from here

It will come with Siemens software to install on your Pc. Install it, there you go, you can now transfer files MMC to you Siemens or MP3. Remember Siemens only accept MP3 with MMC

Another way is to buy MMC and an MMC reader do it separately in you computer and insert the MMC card into your Siemens. MMC means (Multi-Media Card), A flash memory card used in some digicams and MP3 players. The MMC is identical in size and shape to the Secure Digital (SD) flash cards.

Computers › Re: Urgent Help Needed With Hidden Files by sbucareer(f): 12:40am On Sep 11, 2006

Who dittoed any argument?
Computers › Re: Urgent Help Needed With Hidden Files by sbucareer(f): 11:36am On Sep 10, 2006

I seem to be making more foe everyday, well - I wish I knew what It is I have done? Be it vivid or off beam to those my words or gen has offended profoundly, I only wish you can see pass the beleaguered nature of the forum.

Nevertheless, coming from a city that forbearance is everything in life, I am left with absolute acquaintance to my folks.

Back to the question ajiboyet, I understand your question but I would need more clarity on what you meant by "Each time I load DOS (I want to try to un-hide it with DOS), the computer just begins restarting."?

Are you trying to unhide it through Windows i.e GUI or through command line i.e DOS before the computer begins to shutdown? In either case, I should think that there is a virus on your computer.

Windows has got no security measures that will start to shutdown without warning unless it has caught a virus.

Solution

Well, my recommendation is to log into window and do nothing for like five minutes or more to see if the computer tries to shutdown. After that try to navigate to any directory other than the one you want to unhide your files to see if the window begins to shutdown.

Furthermore, if it doesn't then try to navigate to the directory where your files are, hence hidden and see if it start to shutdown.

If it does, sorry man you have caught some sort of virus and would need an antivirus software

But if windows do not shutdown when you access other directory other to the ones your hidden files are then I would suggest you copy them to a USB drive. Here is my command that I would use:

C:\>attrib -A -R -H c:\directory\*.* | xcopy c:\directory\*.* D:\USBDRIVE

This will copy all your hidden files without disturbing the virus to issue command for window shutdown. If the Virus intercept you command and know what you are trying to do and issue shutdown command, sorry man you are out of luck.

Finally, try Norton antivirus and see if it can remove the virus. Good luck
Computers › Re: Urgent Help Needed With Hidden Files by sbucareer(f): 12:50am On Sep 09, 2006

Staunch!!! Disregard my last post ajiboyet. I am not begging anyone to like me. If my post is relevant to you, use it if not excuse me. Sorry for my unfathomable chasm of knowledge.
Computers › Re: Urgent Help Needed With Hidden Files by sbucareer(f): 10:30am On Sep 07, 2006

ajiboyet, this is what you should do without people thinking that I am pulling another effects! as they called it here

I am sure you are using windows DOS version 6.1 and above? If you are, go to your command line by going through start - Program Files - Accessories - Command Prompt.

But if this is disabled by the administrator with a policy script, then go to start - run and type cmd/command line, this will open up the command line interface. Do the following

C:\> cd directory //Change to the directory you want to unhide your file(s)

C:\directory>attrib /S /D |more to show you all the attributes associated with a particular file(s)

Attributes are

1. +  Sets an attribute.
2. -   Clears an attribute.
3. R   Read-only file attribute.
4. A   Archive file attribute.
5. S   System file attribute.
6. H   Hidden file attribute.
 

To unhide a particular file do this

C:\directory>attrib -H filename

or

To unhide the whole directory, do this

C:\directory>attrib -H

Remember you can use UNC (Universal Naming Convention) to reference the directories and files i.e

C:\>attrib -H C:\nairaland\software\pictures

or for a particular file

C:\>attrib -H C:\nairaland\software\pictures\filename

You can get more help with attrib by typing

C:\>help attrib

Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 11:33pm On Sep 06, 2006

You are a joker!!! HTML, what runs the parser? SQL what runs the parser? Javascript what runs the parser? Don't be difficult on yourself, I said they are software components, ok.
Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 11:30pm On Sep 06, 2006

logically, i think it is possible to prevent people from saving a webpage, website, content, script etc. this is how it would work

This is what he siad and I responded to it, ok.
Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 11:23pm On Sep 06, 2006

Reference

[url=http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=deskbar&q=define%3A+MVC]MVC is separation of concern[/url]

Well I am proud because I wrote the code myself. You would NEVER find this type of MVC solution anywhere on earth. If you do they probably copied it from my project, ok.
Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 11:14pm On Sep 06, 2006

I said I will not write or contribute to this thread again, but I just want to make a comment, CSS, JavaScript, HTML, DHTML, XML, SQL etc. are all components of software. Software development need these components to function effectively.

Let me make note of this in the forum Yexon.co.uk and digitemsystems are my companies registered in the UK. You can search the whois database to find the owner. I guess you all know my name, Valentine Obih. Please understand things before you make unelaborated clams!

Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 10:35pm On Sep 06, 2006

I keep saying this, ignorance is a bliss. I will not futher contribute to this thread. I did not know that exchanging information was pulling effects!

I can see that you people are intemidated by my knowledge I will leave you people in peace. Please know what is package directories and UNC (Universal Naming Convention) before trying to pull another blind argument.

If my code is urgly and poorly written, I suggest you supply your cleverly written MVC to use as a comdenation of mine?

I will repeat it again in case you do not know, the purpose of MVC is to separate software concern. We have a concern now, which is people copying or downloading .CSS and Javascript.

My proposal, which did not include MVC elegance was to wrap Javascript and CSS into an object and put it at the back end and simply call it using one of many methods, hence MVC and I showed you how it worked by the using a simple HTML and JSP from a class Object.

Let me give the the poor code of the class object, incase when you are nake bathing, you can read it while at it.



package com.org.yexon.event;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;

import java.io.IOException;
import java.util.ResourceBundle;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class UnknownEventHandler extends EventBaseHandler{

    private ResourceBundle bundle = ResourceBundle.getBundle( "URL" );

    protected String getURL(){
return bundle.getString( "UNKNOWNEVENT" );
    }//End getURL
}//End EventBaseHandler class

Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 11:37am On Sep 06, 2006

I did not finished your post but got general idea of what you are trying to do. I have done something like that in my web application development. i.e.

In the line like <link rel="stylesheet" href="/erclib/css/styleLSBU_css.css" media="screen" type="text/css" />

I will do this instead <link rel="stylesheet" href="controller?event=CSS" media="screen" type="text/css" />

I have used it on my website here. But I did not try it with the CSS, I used it to track all the files and pages I want to serve people.

What I did was to create two properties file called:

1. Url.properties
2. Events.properties

These are there contents.

Url.properties


ADMINISTRATION=
ADVERT=/jsp/advertisewithus.jsp
ASSIGNMENT=/jsp/assignment.jsp
ABOUT=/html/about.htm
BUGDATABASE=
CONTACT=/html/contact.htm
CC=
COPYRIGHT=/jsp/copyright.jsp
COMPANYINFO=/jsp/companyInfo.jsp
DATABASE=
DEVELOPERMAILING=
DOCUMENTATION=
FOOTER=/jsp/footer.jsp
FAQS=/html/faqs.htm
HOME=/jsp/index.jsp
HOMEPAGE=
HOMENETWORKING=/jsp/homeNetwork.jsp
IRC=
J2EE=
JAVA_BUG=
JOBS=/jsp/jobs.jsp
LOGIN=/jsp/login.jsp
MANAGER=
MCSE1=
OFFICENETWORKING=/jsp/officeNetwork.jsp
PROGRAMMING=<a href="Event.properties">Event.properties</a>
PROJECT=<a href="Event.properties">Event.properties</a>
POLICY=/jsp/policy.jsp
PHP=
PRODUCTS=/html/products.htm
PRESS=/html/press.htm
PARTNERS=/html/partners.htm
REGISTER=/jsp/register.jsp
SERVICES=/html/services.htm
STRUT=strut
SERVLET=
SOFTWARE=
SUGGESTION=/jsp/suggest.jsp
STORE=/html/store.htm
TERMS=/jsp/termsandcondition.jsp
TOMCAT=
USERMAILING=
UNKNOWNEVENT=/jsp/unknownEvent.jsp
UNKNOWNERROR=/jsp/unknownError.jsp
WEBCOMPONENTS=
MENU=/html/index.htm



Event.properties



ASSIGNMENT=com.org.yexon.event.AssignmentEventHandler
HOME=com.org.yexon.event.HomeEventHandler
BUGDATABASE=com.org.yexon.event.BugDataBaseEventHandler
USERMAILING=com.org.yexon.event.UserMailingEventHandler
DEVELOPERMAILING=com.org.yexon.event.DeveloperMailingEventHandler
IRC=com.org.yexon.event.IRCEventHandler
STRUT=com.org.yexon.event.StrutEventHandler
SERVLET=com.org.yexon.event.ServletEventHandler
PROJECT=com.org.yexon.event.ProjectEventHandler
DATABASE=com.org.yexon.event.DataBaseEventHandler
SOFTWARE=com.org.yexon.event.SoftwareEventHandler
PROGRAMMING=com.org.yexon.event.ProgrammingEventHandler
TOMCAT=com.org.yexon.event.TomcatEventHandler
PHP=com.org.yexon.event.PHPEventHandler
CC=com.org.yexon.event.CCEventHandler
UNKNOWN_EVENT=com.org.yexon.event.UnknownEventHandler
UNKNOWN_ERROR=com.org.yexon.event.UnknownErrorEventHandler
JAVA_BUG=com.org.yexon.event.JavaEventHandler
WEBCOMPONENTS=com.org.yexon.event.FWebComponentsEventHandler
J2EE=com.org.yexon.event.J2eeEventHandler
ADMINISTRATION=com.org.yexon.event.AdministrationEventHandler
MANAGER=com.org.yexon.event.ManagerEventHandler
DOCUMENTATION=com.org.yexon.event.DocumentationEventHandler
HOMEPAGE=com.org.yexon.event.HomePageEventHandler
MCSE1=com.org.yexon.event.MsceOneEventHandler
SUGGESTION=com.org.yexon.event.SuggestionEventHandler
COMPANYINFO=com.org.yexon.event.CompanyInfoEventHandler
COPYRIGHT=com.org.yexon.event.CopyRightEventHandler
TERMS=com.org.yexon.event.TermsEventHandler
JOBS=com.org.yexon.event.JobsEventHandler
ADVERT=com.org.yexon.event.AdvertEventHandler
POLICY=com.org.yexon.event.PolicyEventHandler
LOGIN=com.org.yexon.event.LoginEventHandler
REGISTER=com.org.yexon.event.RegisterEventHandler
FOOTER=com.org.yexon.event.FooterEventHandler
HOMENETWORKING=com.org.yexon.event.HomeNetworkingEventHandler
OFFICENETWORKING=com.org.yexon.event.OfficeNetworkingEventHandler
MENU=com.org.yexon.event.MenuEventHandler
ABOUT=com.org.yexon.event.AboutEventHandler
CONTACT=com.org.yexon.event.ContactEventHandler
SERVICES=com.org.yexon.event.ServicesEventHandler
PRODUCTS=com.org.yexon.event.ProductsEventHandler
FAQS=com.org.yexon.event.FaqsEventHandler
PRESS=com.org.yexon.event.PressEventHandler
STORE=com.org.yexon.event.StoreEventHandler
PARTNERS=com.org.yexon.event.PartnersEventHandler



The actuall server scripts that is behind this MVC is using servlets, actually two servlets namely:

1. Controller.java
2. EventBaseHandler.java

here are the files


package com.org.yexon.event;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public abstract class EventBaseHandler{

/*
    Declare abstract method.  Any class that
    extends this abstract class will define how
    this method will get information regarding URL
*/

    protected abstract String getURL();

/*
    This method could be overwritten but must not
    be implemented like getURL method above.  If this
    method is overwritten in any class that use it the
    functionality will be adopted from the new implementation
*/
    public void process( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException {

    }//End process

/*
    This method could be overwritten but must not
    be implemented like getURL method above.  If this
    method is overwritten in any class that use it the
    functionality will be adopted from the new implementation
*/
    public void forward( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException {
dispatch( request, response );
    }//End forward

/*
    This method could be overwritten but must not
    be implemented like getURL method above.  If this
    method is overwritten in any class that use it the
    functionality will be adopted from the new implementation
*/
    public void dispatch( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException {

      RequestDispatcher rd = request.getRequestDispatcher( getURL( ) );

      if ( rd != null )

      rd.forward( request, response );

    }//End forward
}//End EventBaseHandler class


For the Controller class


package com.org.yexon.servlets;

import com.org.yexon.event.EventBaseHandler;

import java.util.HashMap;
import java.io.IOException;
import java.util.Enumeration;
import java.util.ResourceBundle;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class Controller extends HttpServlet{

    protected static HashMap events = new HashMap( );

    public void init (  ) throws ServletException{

ResourceBundle bundle = ResourceBundle.getBundle( "Event" );

Enumeration e = bundle.getKeys( );
while( e.hasMoreElements( ) ){
    String key   = ( String ) e.nextElement( );
    String value = bundle.getString( key );

    try{
EventBaseHandler event = (  EventBaseHandler )
Class.forName( value ).newInstance( );
events.put( key, event );
    }catch ( Exception exception ){
     //We wiil try and do something here in the future
    }//End exception
}//End while
       }//End init method

    public void doGet ( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException{
doPost( request, response );
    }//End doGet Method


    public void doPost ( HttpServletRequest request,
HttpServletResponse response )
throws IOException, ServletException{

String event = ( String ) this.validateEvent( request );
EventBaseHandler handler = getEventHandler ( event );

try{
    handler.process ( request, response );
}catch ( Exception exception ){
    request.setAttribute ( "error", exception );
    handler = this.getEventHandler( "UNKNOWN_ERROR" );
}//End exception
       handler.forward ( request, response );
    }//End doPot Method


    protected String validateEvent( HttpServletRequest req ){
String event = req.getParameter( "event" );
if( event == null || !events.containsKey( event ) ){
    event = "UNKNOWN_EVENT";
}
return event;
    }//End validate method

    protected EventBaseHandler getEventHandler( String theHandler ){
EventBaseHandler handler;
try{
    handler = ( EventBaseHandler ) events.get( theHandler );
}catch( Exception exception ){
    handler = ( EventBaseHandler ) events.get( "UNKNOWN_EVENT" );
}//End exception
return handler;
    }//End getEventHandler
}//End Controller class



These approache could be used for the CSS and Javascript to adopt the middleware deployment which will undoubtedly prevent people from downloading your business logic.

Try my url to see how my pages are been called from the middleware. Sorry if this did not help with your argument
Computers › Re: What Area In IT Should I Go For? by sbucareer(f): 6:19pm On Sep 05, 2006

elolove, I am not asking you to forget IT, I am only being honest. You read management study, your strengths are in management. I was told by a reputable academic consultant from my former firm that why people are not always successful in life is that they spend half their life choosing a wrong career and investing on it. The minute something new cames out they want to retrain for something that has no correlation with what they are already doing or trained for.

Imagine Bill Gates training for Accounting job. He might learn accounts but would not be successful in it compare to IT. This is just the bottom line. I do not say and commend that training in IT would proof bereft.

The point I was trying to convey was that web designing is NOT a comprehensive career package for IT gurus. Everyone can design a website, professional or not it doesn't matter.

Most company have their website designer in house. Tell me how much does web designers make theseday? Not a lot. How many people will design website for Omotola Jalade? Even though, she would not pay her fortune on web presence.

I keep harmerring web design because that is the area of IT/ITC Nigerians, thus are heading into. Look at the Indians, Chinese and other IT emerging super world, their IT/ITC are not web design. To make it in life you need to shine out like a star. Web design is just a beginners corner into IT. As soon as you learn the conundrum you move up to more exiting areas like telecoms, enterprise application development, SAP, Database design, even database has got a degree dedicated to it, System and Information design.

I will not convince anyone here that my recommendation or knowledge is superior, I am still learning and I have learned a lot since last three years away from academics. I can only tell you that if you have studied IT either degree or certification last six years life would have been different for you because you would have been into employment now and probably moving up to managerial position.

The premise now is that IT/ITC has got lots of professional graduates and geeks, highly intelligent with even PhD to back it up.

My advice to anyone who is trying to embark into IT should really consider his/her position quite objectively. There is no win and lose here, IT/ITC market sector is very very dynamic and is now saturated.

If your career goal is to work for someone like Microsoft or IBM, then study and learn development and become a developer or architect. Remember most of what we do today in IT is maintenance, the whole thing has already been developed. This is where I said people with IT degree are more likely to succeed because they studied analytical units and principles, theories and paradigm.
Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 5:16pm On Sep 05, 2006

Now that we have cleared the air, do you now believe that .js and .css and other server side scripts can be downloaded when you simply save a url? This is the reason we have enterprise application today (Separation of concern).

You inject objects from middleware to front-end and deject them when necessary. This way people can not still you code, the middleware, because all it does is render object or reference to the class.
Webmasters › Re: How Can You Prevent A Webpage From Being Saved? by sbucareer(f): 4:24pm On Sep 05, 2006

my2cents, sorry if you think I offended you or directed my response to you. You should really try and find out the meaning of Ignorance can be a bliss and your knowledge reprehensible  you would see that I did not direct any insult or take anyones knowledge in this forum minuscule.

One does not know all including me and you. The phrases I choose for any public outlook is always irreprehensible. Sorry if you thought I directed the words to you. Bliss is happiness. So, in other words what I am saying is ignorance can be joyful.

You see I did not make anyone look less. Sorry if I offended you, accept my sincere apology.

Computers › Re: I Am Bored: What Else Is There To Do On The Internet? by sbucareer(f): 10:02am On Sep 05, 2006
x
Computers › Re: I Am Bored: What Else Is There To Do On The Internet? by sbucareer(f): 4:01am On Sep 05, 2006

Efani, you are bored on the Internet and I am giving you a chance to redeem your frenzy and you are saying oops sry, what is that for?
Computers › Re: I Am Bored: What Else Is There To Do On The Internet? by sbucareer(f): 3:57am On Sep 05, 2006

Here, I will upload the word document file so that you do not make an excuse for not completing it and posting it for us

1 2 3 4 5 6 7 8 ... 13 14 15 16 17 18 19 20 21 (of 38 pages)