|
but there were soo many definitions at soo many situations...
so i want to be clear what s ontology in information science...
its definition says conceptualization of a specific domaim...
what does that really mean... ?????
|
|
|
|
|
Sorry, I don't know, you will need to research it. This is a Java technical forum, and your question is some way outside of the subject.
|
|
|
|
|
sry.. ontology s a general concept..
there s a separate api fof this ontology is jena ontology tool.. so nly i askd
|
|
|
|
|
|
im new to this site..
im interested in java programming...
could any one help me how to begin it ???
|
|
|
|
|
|
can i get some tutorials and sample projects ?
|
|
|
|
|
|
Hi all,
I'm doing a sort of academic work for university and I'm looking for how JPA manages different data stores (I have to compare and contrast this with ADO.NET)...
Does anyone can give me an advide for some docs explain this behavior? I've found only that Java connects to every and only JDBC data sources defining properties for conn. in persistence.xml or using a JNDI connection wherever the JDBC data source is mapper in the application server....
Thanks
Ste
Ste
|
|
|
|
|
once you've connected to the DB, the mechanics of storage are down to the database itself. What is being stored is well documented in theJPA specification [links at the end of the page][^]
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
|
Wow, Java with command prompt!! Sure bring back memories.
My favorite IDE for Java is always NetBeans[^]. But make sure you ask for permission if you want to use NetBeans in class, some basic Java is easier to grasp in command prompt.
Excuse me for my improper grammar and typos.
It's because English is my primary language, not my first language.
My first languages are C# and Java.
VB, ASP, JS, PHP and SQL are my second language.
Indonesian came as my third language.
My fourth language? I'm still creating it, I'll let you know when it's done!
|
|
|
|
|
Okay, thanks. will do.
Sir.Dre
|
|
|
|
|
For learning Java, I would recommend BlueJ[^]. It was designed specifically for use in education.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
use Eclipse - that's the classic one.
regards Torsten
I never finish anyth...
|
|
|
|
|
netbean is good editor for java .you can download it from oracle site
|
|
|
|
|
I would personally go for BlueJ. It is lightweight and it does not contain too many features that you may not utilize in the long run.
Netbeans is okay. There are tons of features available for you. Furthermore, it has several variation depending on what kind of language that you want to develop your program with. Netbeans is very useful if you want to use several languages.
I am not too sure about Eclipse though. The last time I used it is for testing out the Android emulator.
And all three of them are free!
|
|
|
|
|
Eclipse and NetBeans are the best IDE for java.
NetBeans provide good interface like visual studio of Microsoft.
|
|
|
|
|
hey guys I need to learn java asap
I am studying java from this link : http://download.oracle.com/javase/tutorial/
everything given over here is theoretical. I am facing problems in grasping the concepts. Can u suggest me some programs or small projects that will make me learn the language efficiently.
Thanks in advance
|
|
|
|
|
Do you have any programming experience? If so take a small project you've done once and port it in Java.
What are you actually going to do? Java is a huge language and there are many areas. Start off by learning the core system - Standard Edition - as anything you learn there is portable to most of the other areas.
Do you understand OO? The early parts of the Java tutorials are theoretical because they need to be. As well as giving you the language, they are teaching you the theory and there is a lot of theory to take on board.
At the end of the day, if you do choose to go through the Java tutorials, you will get a very good knowledge of the language and it is free. Alternatively, you could buy one of the myriad books on the language.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
hi...yes i have done C++, c# and asp.net before.....i am finding difficulty in theory because we tend to forget when we move forward without making any programs...i have done basics but finding difficulty since interfacing part...please help
|
|
|
|
|
If you've done C# then most of Java should be straight forward.
By interfacing do you mean the concept of design to an Interface ?
Unlike C++ , Java only supports single-inheritance and interfaces allow a way around that. An Interface is used to define the capabilities of the class, not the function.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
|
Hi to all I have a problem in repainting my JPanel. I am creating a ShapeApplication program that can draw a shape on a click of a button. I have different classes in my application.
JPanel1 extends JPanel = use to draw different shape
JPanel2 extends JPanel= use to put my components such as buttons, label, and etc..
JFrame extends JFrame= use to put my JPanel1 and JPanel2
I have also normal classes which I implemented on my own
Shape = my Parent Class
Rectangle extends Shape = subclass of Shape and having an attribute of a Rectangle shape such as height and width
Square extend Shape = subclass of Shape and having an attribute of a Square shape such as height and width
My problem now is that when I use a repaint in actionPerformed method under my JPanel2 which contain my button component there is no effect on my drawing class which is my JPanel1 class
I implemented it this way
JPanel1.repaint();
I initialize my button's ActionListener like this..
button.addActionListener(this);//I am confuse what would be in the parameter.
Can you give a hint on this one? Where do I get wrong?
|
|
|
|
|
Hi,
JFrame is the container of JPanels (Jframe.add(child);)
JPanel1 with own event listener
JPanel2 with own event listener
You must call JPanel1.repaint() in event listener of JPanel 2
You must call JPanel2.repaint() in event listener of JPanel 1
-----------------------------------------------------
referenz_of_button.addActionListener // no action commands, but all action vvents
(
new ActionListener()
{public void actionPerformed(ActionEvent e) // e is placeholder form actionevent type (see Class ActionEvent)
{
// do something ony for object with referenz_of_button
}
}
);
JButton supports ActionListener
JLabel supports ActionListener
JButton and JLabel support MouseListener , KeyListener etc.
----------------------------------------------------
only if you want to use labels (action commands) of buttons
public void actionPerformed(ActionEvent event)
{
String cmd = event.getActionCommand(); // get label of button, label is the action command
if (cmd.equals("label_of_button1"))
{
// do something für button1
}
if (cmd.equals("label_of_button2"))
{
// do something für button1
}
}
referenz_of_button1.addActionListener(this);
// label of button must be "label_of_button1"
referenz_of_button2.addActionListener(this);
// label of button must be "label_of_button2"
JButton supports ActionListener
JLabel supports ActionListener
|
|
|
|