Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

amarnath jha

Greenhorn
+ Follow
since Aug 07, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by amarnath jha

when i tried to load application it gave me this message.
unsigned application requesting unrestricted access to system
unsigned resource:http://localhost:8080/notepad/notepad.jar
Now please give the steps to make my jar signed.
My jnlp file is

<?xml version="1.0"?>
<jnlp spec="1.5+" codebase="http://localhost:8080/notepad/" href="notepad.jnlp">
<information>
<title>Web start application</title>
<vendor>amar</vendor>
<description>Notepad Application</description>
<icon href="box.gif"/>
<icon kind="splash" href="boxwave.gif"/>
<offline-allowed/>
<shortcut online="false">
<desktop/>
<menu submenu="apps"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5.+" />
<jar href="notepad.jar" />
</resources>
<application-desc main-class="Notepad" />

</jnlp>
15 years ago
my question is can we serializa a class that is making use of native methods .
15 years ago
can we serializa a class making use of native methods.
15 years ago
any other information regarding the class declared in an interface
15 years ago
how can i access a class defined in an interface?

public interface abc
{
static int i=0; void dd();
class a1
{
a1()
{
int j;
System.out.println("inside");
}
public static void main(String a1[])
{
System.out.println("in interfia");
}
}
}
15 years ago
i solved that problem .Thanks for your
but know after 23 years i cant change my name .
its Amarnath jha and it will remain Amarnath jha .
My compiler is giving error
cannot find symbol
Symbol: class CachedRowSet
Location:Class MyRowSet

will i have to set some classpath for rowset.
thanks i found very useful links from google
please give me an example of connection pooling.Any code will work fine
my programe is throwing SQLException GeneralError using oracle9i

//this is code

public void insertData(String name,int id,float price,int sales,float total)
{
try
{
//columns = statement.executeUpdate("insert into coffees values ("+name+","+id+","+price1+","+sales1+","+total1+")");
pStatement = connection.prepareStatement("insert into coffees values(?,?,?,?,?)");
pStatement.setString(1,name);
pStatement.setInt(1,id);
pStatement.setDouble(1,price);
pStatement.setInt(1,sales);
pStatement.setDouble(1,total);
pStatement.executeUpdate();
connection.commit();
System.out.println("no of rows inserted "+columns);
}
//catch block and other code
my programe is throwing SQLException GeneralError using oracle9i

//this is code

public void insertData(String name,int id,float price,int sales,float total)
{
try
{
//columns = statement.executeUpdate("insert into coffees values ("+name+","+id+","+price1+","+sales1+","+total1+")");
pStatement = connection.prepareStatement("insert into coffees values(?,?,?,?,?)");
pStatement.setString(1,name);
pStatement.setInt(1,id);
pStatement.setDouble(1,price);
pStatement.setInt(1,sales);
pStatement.setDouble(1,total);
pStatement.executeUpdate();
connection.commit();
System.out.println("no of rows inserted "+columns);
}
//catch block and other code
thank you very much for this important link

16 years ago
i am facing problem in configuring JMS server on BEA weblogic6.1 .its giving error while configuring.
how to solve that.give me the steps pf configuring .or links to some online help on that.
i am facing problem in configuring JMS server on BEA weblogic6.1 .its giving error while configuring.
how to solve that.give me the steps pf configuring .or links to some online help on that.