Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 23-12-2009
Member
 
Join Date: Nov 2009
Posts: 60
Don't know how to run the java bean program

Hi friends,

I need your help to run the Java bean program . I think it's too complicated to run any java bean program. I tried to run the java bean program as normal java program procedure but it didn't work.
Have you successfully tried to run the java bean program? is yes then please let me know that steps to run the java bean program
Reply With Quote
  #2  
Old 23-12-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Don't know how to run the java bean program

Do the following procedure to run the bean program:
  • First open Java bean class in the visual editor.
  • Then you need to select the following option from main menu:
    select the "Run" and then select "Run As" option. Then select the "Java bean" option for java bean program. Otherwise select the "Java Application" for normal java program.
Reply With Quote
  #3  
Old 23-12-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: Don't know how to run the java bean program

Hi friend,

If you want to run java bean program, you need to have java visual editor. If you don't have java visual editor installed on your machine then first installed it. Then open your java program. While running this program make sure that you are running this program as Java bean not as Java application. If you want more regarding running java beam program then please visit the below link:
http://publib.boulder.ibm.com/infoce...s/tve_run.html
Reply With Quote
  #4  
Old 23-12-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Don't know how to run the java bean program

I use following steps to run java bean program on my system, you should try this:
  1. Open IDE window (Java Integrated Development Environment).
  2. Then select the Java bean program code , then load Java Integrated Development Environment. Then run your program as a Java bean
  3. Then open run option>> select Run As >> and choose Java Bean" from Java Integrated Development Environment main menu.
  4. Then you need Change the location directory class files for the Java bean program for this use "cd c:\myjavafiles" file path on your system. Then use "java myJavaClass.class" to run the Java bean program.
Reply With Quote
  #5  
Old 23-12-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Don't know how to run the java bean program

Hello,

The java bean file has the extension ".jar" and ".class". After creating code for java bean, you need to create the manifests file as well as class file. And after creation of these two files you will need to combine these two files into the "JAR file". Then you need to open the java BeanBox application from the command prompt. Then open the "jar file" which you have already created by combining the class and manifests file.
Reply With Quote
  #6  
Old 23-12-2009
Member
 
Join Date: Nov 2009
Posts: 60
Re: Don't know how to run the java bean program

Hi friends,

I did the same procedure as mentioned above. But I got many difficulties while creating the jar file from class file and manifest file. As you have not mentioned the procedure for creating the jar file. But finally I was successful to create the jar file. Then as per instruction I browse the jar file from the java bean application and successfully executes the Bean file. Thanks for all your quick help!!
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Don't know how to run the java bean program"
Thread Thread Starter Forum Replies Last Post
How to create a java bean for jsp in order to access database K@ttY Software Development 2 21-01-2012 10:00 AM
Convert a Java Bean Code KALYAN23 Software Development 5 02-08-2010 10:34 AM
How to create an instance of Bean in java? Madaleno Software Development 4 03-02-2010 09:33 PM
Difference between Java Class and Bean Bottlenecked Software Development 5 01-02-2010 01:28 PM
Access to Objects In A JavaBean From Another Java Bean ramsun Software Development 5 30-01-2010 01:18 PM


All times are GMT +5.5. The time now is 04:57 AM.