RCR's Profile
Reputation: 7
Worker
- Group:
- Contributors
- Active Posts:
- 33 (0.09 per day)
- Joined:
- 04-July 12
- Profile Views:
- 2,053
- Last Active:
Aug 14 2012 01:20 PM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 50
Posts I've Made
-
In Topic: C++ Programmer Roll Call!
Posted 14 Aug 2012
I've been coding C++ for 13 years. C for 9 of them, but I always preferred C++, what's your opinion?
- RCR -
In Topic: What IDE do you prefer for C++
Posted 14 Aug 2012
I believe IDE's teach bad coding practices(like forgetting to actually write the code because of all the hints) but if I had to choose..I would pick VS2010. It's just so good.
- RCR -
In Topic: JMS - Class not insatntiated
Posted 13 Aug 2012
fromTheSprawl, on 09 August 2012 - 01:17 AM, said:Are you using Eclipse? If you already tried adding the jar file to your build path I suggest trying to add it on your /WEB-INF/lib folder as well.
The one part that seemed fishy to me was:
Exception in thread "main" javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
[Root exception is java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory]
But I don't work with Glassfish, just my two cents.
- RCR -
In Topic: Error while trying to open update customer page
Posted 30 Jul 2012
Welcome to the Java world! Since you are fairly new, let me introduce you to the structure of a Java program, this may be a part of your problem
Java programs are made like this:
package goeshere; import yourImports.*; public class StructureOfAProgram extends program implements interface { member variable var; more member variables; public StructureOfAProgram(){ Constructor for your instance variables' } public void Human(int age, int height, int weight, String name) { walk() run() eat() sleep() bathroom() water() tired() } public void Bob() { Human bob = new Human(30, 5'6, 120, 'Bob'); bob.run(); if(bob.tired()) { bob.water(); bob.sleep(); } public void main(String[] args) { /*if(args[1] == "bob") { Bob()........*/ } }
You don't have a main method in your program! Every program needs a main method to start. Add your main method and your code should work fine.
-RCR -
In Topic: What are context attributes?
Posted 27 Jul 2012
Context Attributes are the attributes in the web application. All the items referring to the application are Context Attributes.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Years Programming:
- 17
- Programming Languages:
- Java, x86 Assembly, Python, Ruby, C, C++, Perl, Batch, Bash, SQL etc.
Contact Information
- E-mail:
- Click here to e-mail me
Friends
|
|


Find Topics
Find Posts
View Reputation Given

|
Comments
fromTheSprawl
03 Aug 2012 - 02:36