| .Net: 3 Years of the 'Vision' Thing |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- Equivalent items in JavaI know a bit in Windows (.net) development. I would like to find out
the equivalent component of the below components. Anyone has
suggestions?
ASP -->
VB.NET, C# -->
MS SQL -->
IIS -->
NT server -->
THX a lot!
- 1
- AGLOCO- this worries GoogleHi,
AGLOCO- this worries Google
Bill Gates thinks Google should be worried!
-------------------------------------------
You must have heard by now about Agloco and how many people think it
is going to be bigger than Google... Now Bill Gates is on record
saying they have a great business model and that Google should be
worried.
Google search result produce - 1,400,000 web pages for Agloco.
Google makes billions of $$$ and keeps it all for itself... Agloco
one
day is going to also make billions of $$$ except it will be completely
shared out to its members!
You make money with Agloco by using your computer as you would
normally!
Plus Agloco has a great referral pakage!
So start building your network!
Join AGLOCO - Own the Internet! click on this...
www.agloco.com/r/BBCD7223
It's all over the blogosphere and Bill Gates has been quoted as
saying he believes it "will be the next big thing to hit the
internet", so
what is Agloco and will they really pay you for surfing the net?
I too was sceptical when I heard about it but after spending a few
hours googling and reading about it, I have not only come round to the
idea but am now thinking it could really work and could really make
us (that's me and all of you who are reading this) some money.
regards,
Ketan Arora
www.agloco.com/r/BBCD7223
- 4
- Websphere session persistence gets "protocol violation" using oracle jdbc driverHi,
We use oracle (8.1.7) as the session persistence database for our
websphere 3.5.4 application server. After 15 min of running a stress
test, we get the foll. exception. Any idea whats going wrong?
thanks,
Chinmay
java.sql.SQLException: Protocol
violation
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.<init>(Throwable.java:94)
at java.lang.Exception.<init>(Exception.java:42)
at java.sql.SQLException.<init>(SQLException.java:43)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:803)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:549)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1311)
at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:661)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1320)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1232)
at oracle.jdbc.driver.OracleStatement.doExecuteWithBatch(OracleStatement.java:1353)
at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java:1760)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1805)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:320)
at com.ibm.ejs.cm.cache.CachedStatement.executeUpdate(CachedStatement.java:314)
at com.ibm.ejs.cm.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:235)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.ejbStore(BackedHashtable.java:2564)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.storeSession(BackedHashtable.java:2272)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.put(BackedHashtable.java:2958)
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionContext.sync(DatabaseSessionContext.java:112)
at com.ibm.servlet.personalization.sessiontracking.SessionData.releaseSession(SessionData.java:260)
at com.ibm.servlet.engine.srt.SRTSessionAPISupport.finish(SRTSessionAPISupport.java:190)
at com.ibm.servlet.engine.srt.SRTConnectionContext.finishConnection(SRTConnectionContext.java:103)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:102)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
We also get another exception below the above one in the trace log:
StatementProx E Exception closing statement
com.ibm.ejs.cm.exception.IllegalConnectionUseException: Error:
Connection is being used in a way that violates the architecture
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.<init>(Throwable.java:94)
at java.lang.Exception.<init>(Exception.java:42)
at java.sql.SQLException.<init>(SQLException.java:82)
at com.ibm.ejs.cm.portability.PortableSQLException.<init>(PortableSQLException.java:35)
at com.ibm.ejs.cm.exception.IllegalConnectionUseException.<init>(IllegalConnectionUseException.java:26)
at com.ibm.ejs.cm.proxy.Proxy.close(Proxy.java:154)
at com.ibm.ejs.cm.proxy.StatementProxy.__close(StatementProxy.java:61)
at com.ibm.ejs.cm.proxy.StatementProxy.close(StatementProxy.java:216)
at com.ibm.ejs.cm.proxy.Proxy.close(Proxy.java:76)
at com.ibm.ejs.cm.proxy.ConnectionProxy.close(ConnectionProxy.java:645)
at com.ibm.ejs.cm.proxy.ConnectionProxy.connectionDestroyed(ConnectionProxy.java:97)
at com.ibm.ejs.cm.pool.ConnectO.fireConnectionDestroyed(ConnectO.java:1500)
at com.ibm.ejs.cm.pool.ConnectO.destroy(ConnectO.java:741)
at com.ibm.ejs.cm.pool.ConnectO.translateException(ConnectO.java:1134)
at com.ibm.ejs.cm.proxy.ConnectionProxy.translateException(ConnectionProxy.java:177)
at com.ibm.ejs.cm.proxy.PreparedStatementProxy.translateException(PreparedStatementProxy.java:484)
at com.ibm.ejs.cm.proxy.PreparedStatementProxy.executeUpdate(PreparedStatementProxy.java:238)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.ejbStore(BackedHashtable.java:2564)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.storeSession(BackedHashtable.java:2272)
at com.ibm.servlet.personalization.sessiontracking.BackedHashtable.put(BackedHashtable.java:2958)
at com.ibm.servlet.personalization.sessiontracking.DatabaseSessionContext.sync(DatabaseSessionContext.java:112)
at com.ibm.servlet.personalization.sessiontracking.SessionData.releaseSession(SessionData.java:260)
at com.ibm.servlet.engine.srt.SRTSessionAPISupport.finish(SRTSessionAPISupport.java:190)
at com.ibm.servlet.engine.srt.SRTConnectionContext.finishConnection(SRTConnectionContext.java:103)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:102)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
- 4
- What is a "dirty read" ?Hi group,
I am new to JDBC but have idea about Oracle transaction management. I
am confused about JDBC documentation saying "dirty read"s allow
changes made by a trasaction visible to another before it is
committed. What does this mean ? Does it mean that the concurrent
transaction can be from different connections ? If so how is it
possible ? I believe read dirty reads are reads from dirty blocks
which is accessible only by this session.
TIA
Pramod R
- 4
- Tool to draw class relatinoship diagrams from a package ?> Do you know a free package that I could use to draw the
> inheritance/implementation relationships from a package ? Something
> like this: I give it the top dir for a package and it produces a
> diagram.
there is one plugin for Intellij IDEA that do such things.
____________
http://reader.imagero.com the best java image reader.
- 6
- file-include question.."maya" <email***@***.com> wrote...
> if I'm in a webapp called "photoblog", for example, if I do
>
> <%@ page errorPage="/errHandler.jsp"%>
>
> it works fine; if I do
>
> <%@ page errorPage="/photoblog/errHandler.jsp"%>
>
> I get an error..
> (this happens both on my personal stuff in Tomcat and my stuff @ work
> on weblogic..)
This is handled by the JSP container, i.e. on the server side.
The path is hence relative to the JSP application.
> within same webapp I have:
>
> <link rel="stylesheet" type="text/css"
> href="/photoblog/css_default.css">
>
> for this one I do need webapp-name in path, otherwise it does not read css
> stylesheet..
css is not JSP includes, but is part of the plain webbrowsing, i.e. handled
from the *client* side.
css is "requested for" by the the browser, i.e. the path is relative to the
visible url.
> can someone enlighten me here?
I hope I have.
/// Bjorn A
- 6
- j2ee request resource is not available hello1Hi all,
I have found a solution to a problem that I would like to share.
I am running WindowsXP and J2EE sdk 1.3.1.
I was trying to run the Hello1 servlet example from the J2EE examples
from sun. I found this error message: j2ee request resource is not
available
Then I solved this problem by opening the application in deploytool:
Filling in the following fields:
Hello1App: WebContext-> WAR File = Hello1WAR; ContextRoot = hello1
GreetingServlet -> aliases = /greeting
ResponseServlet -> aliases = /response
This solved the problem and it was running fine.
Hope it helps,
Satyajit
- 6
- hasNext?What is hasNext? I know you use it when you are reading from a file
and it will stop when it has nothing more to read, but how would you
use it? I have seen a couple of different examples of it, but all
they do is make me more confused. I just can't seem to understand
it...can anyone help?
- 7
- Policy ideas (Was: Re: java2-runtime)Charles Fry <debian <at> frogcircus.org> writes:
>
> Does this mean that bugs should be filed with packages which provide or
> depend on java-runtime (I noticed a few)?
>
> Should bugs be filed with kaffe, which as Peter pointed out does not
> provide any java runtime?
>
> Is there any reason why java1-runtime and java2-runtime are the official
> runtimes, whereas java-compiler and java2-compiler are the official
> compilers? This inconsistency does not seem helpful in establishing
> consistency within the runtimes.
Yeah, I think the policy should be consolidated, since java 1.1 is (for all I
know) not packaged or availiable in Debian. Java-package supports nonfree
runtimes starting from 1.3 and above. I assume that most of the software
packaged in Debian these days will require a pretty modern runtime anyway.
So, I'd suggest that the java(X)-runtime virtuals are removed in favour of a
general "j-word-runtime" virtual to be provided by all runtimes capable of
running programms written in the Java programming language.
I propose using "j-word" instead of "java", because that is a time-honoured way
of abbreviating four letter words that can not be said freely in English.[1]
cheers,
dalibor topic
[1] As Sun Microsystems holds and and actively defends their Java(TM) trade
mark, I would not recommend calling Kaffe a Java(TM) runtime, because, frankly,
according to Sun Microsystem's rules for the usage of the trade mark, it is not
a Java(TM) runtime.
And that's fine by me, I don't feel that trying to rub off Sun's trade mark
investment is a fair thing to do.[2] You can see on the kaffe.org web site how
the Kaffe project tries to draw a clear line between Kaffe and Sun Microsystem's
implementation. In order to avoid confusing people who dearly want the "Java(TM)
Desktop System" GNU/Linux distribution, for example, rather than a free software
runtime environment for programms written in the Java programming language (that
is a safe use of the term "Java", btw. ;).
[2] Just like I don't feel that Sun Microsystems attempts to market some of
their clearly proprietary software as Open Source are a fine thing to do, like
they tried to do with Java3D or JAI. See my comment at
http://weblogs.java.net/blog/editors/archives/2005/02/working_with_th.html for a
reference.
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 7
- Can't locate JavaxHi,
I am using DrJava, and I am writing a program that has the following
statement:
import javax.swing;
It gives me this error when compiled:
File: C:\Program Files\DrJava\CustomJFrame.java [line: 1]
Error: package javax does not exist
I did set my classpath variable to:
c:\j2sdk1.4.2\lib\tools.jar;C:\j2sdk1.4.2_01\src\javax
where C:\j2sdk1.4.2_01\src\javax is where javax is located.
What am I doing wrong?
- 11
- Simple java question...Hi guys,
please help me with this simple java question.
I'm developing a jsf application but i have a java question.
Suppose i have an authentication bean with 3 attributes,login,password
and team that load the values inserted in a login page.
In another bean i have a method that performs inserting an experiment
into a db.
My prepared statement is like...
pst2.setString(1, name);
pst2.setString(2, team);
pst2.setString(3, platform);
etc...
but i want name is the login attribute and team the team attribute of
authenticationBean.
How can i pass these values to my pst.2setString?
Please help me
- 13
- Can't avoid "References to generic type List<E> should be parameterized" warning here can I ?Hi,
I'm writing some kind of gateway between 2 packages, whose a
few classes have the same name (I need to bind these classes).
So I'm retrieving the attributes of my source class1 and set my
equivalent class2 in the other pkg with these attributes when
methods names -and attributes- match.
Excerpt from my method:
1 public my.persistent.Pst mapFromProtocol(my.protocol.Pst src)
2 {
3 my.persistent.Pst target = new my.persistent.Pst();
4 for (Iterator<my.protocol.Remark> it =
src.getRemark().iterator(); it.hasNext(); )
5 target.getRemark().add(it.next());
6
7 ... //many other attributes/objects to set too
8
9 return target;
10 }
In RAD the line 5 is underlined in yellow and it says "Type safety:
The method add(Object) belongs to the raw type List. References
to generic type List<E> should be parameterized".
Is there a way to avoid this warning in my case, as I can't
instantiate
a List<Remark> lr = new ArrayList() of course... (because I have no
method setRemark() in target)
Thanks.
Regards,
Seb
- 13
- rs-232Anyone know how to echo characters over an rs-232 serial interface? Thanks.
-Sean M. Tucker
- 15
- Skyway Builder Rocks! I'm building J2EE apps without writing code....I've been using this development platform for the past month and I
can't believe how easy it is to build JAVA applications and web
services. This thing is powerful and a huge time saver. I havn't had
to write a single line of code yet. If you havn't tried it, do
yourself a favor and download it..it's FREE.
- 16
- Why do JARs made with JBuilder 2006 Enterprise not work outside IDE???Hi all,
I have written a program in JBuilder 2006 Enterprise (Win NT, JRE 1.5)
which works perfectly within the IDE.
However, when I use JBuilder to create a JAR of my project and then try
to run in from the command line it throws the run-time exception
below...
Exception in thread "main" java.lang.SecurityException: class
"Com.package.MyPackage.MyExcpetion"'s signer information does not match
signer information of other classes in the same package
I have used JARs before but never come across this sort of error, maybe
worth adding that the program uses JavaMail to send emails.
More confusing, why does it work in JBuilder, but not outside?!?
Any help would be greatly appreciated, i am stumped!
A
|
| Author |
Message |
Frank Mulvenny

|
Posted: 2003-7-12 18:11:00 |
Top |
java-programmer, .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Ben wrote:
>>
>> Here here!
>
>
> i believe that's "hear! hear!"
>
> and i ask again:
>
> "really? so where are most of the c#/.net people coming from? what
> with all the questions from vb and other microsoft developers around
> here, sure sounds like a mass migration of the herd from vb and other
> older microsoft tech to c# and other .net.....and that sounds like
> pure cannibalism of old by the new to me."
I think you're clutching at straws here, so what if people using dotnet were
using VB6 or C++ in the past to do development?
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-12 18:11:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Ben wrote:
>>
>> Here here!
>
>
> i believe that's "hear! hear!"
>
> and i ask again:
>
> "really? so where are most of the c#/.net people coming from? what
> with all the questions from vb and other microsoft developers around
> here, sure sounds like a mass migration of the herd from vb and other
> older microsoft tech to c# and other .net.....and that sounds like
> pure cannibalism of old by the new to me."
I think you're clutching at straws here, so what if people using dotnet were
using VB6 or C++ in the past to do development?
|
| |
|
| |
 |
Jay Glynn

|
Posted: 2003-7-13 11:01:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
"Kent Paul Dolan" <email***@***.com> wrote in message
news:email***@***.com...
> "Frank Mulvenny" <email***@***.com> wrote:
>
> > Kent Paul Dolan wrote:
>
> >> Former VB programmers are abandoning that tool, and thus
> >> providing revenue lossage there for M$, in droves.
>
> > Of course they presumably have already purchased VB6, and so are not
> > bringing in further revenue for MS by sticking with it.
>
> Except that M$'s standard practice has been to release alphas as
> commercial releases, and then sell bugfixes as "upgrades", making for a
> perpetual revenue stream among those who didn't learn to avoid that kind
> of slavery when the phone company was broken up and had to allow phones
> to be sold rather than rented forever as before.
This really isn't true. Most point upgrades to Microsoft tools were free
downloads or minimal cost. The last VS.NET upgrade was what, $20.00. Major
upgrades are every 18 - 24 months, and upgrades are discounted heavily
compared to full retail price. This is the same schedule that most tool
vendors follow. The other thing is that the revenue that is generated by
development tools is barely a blip on Microsoft's radar screen. They have
never "made" money on development tools. The anti-MS drones like to use the
money argument all the time. In the case of dev tools it's a lame argument.
There is no money there.
>
> > If they move to .NET and buy VS.NET they will provide revenue to MS.
>
> Not, in particular, more per year than they were before as captive
> developers to a proprietary environment, and now there are fewer of
> them.
>
> >> Now mix in the earlier documented > 30% lossage
> >> to other camps (such as Java) in the process,
>
> > Can you provide a link to the documentation? Thanks.
>
> Nope. It was posted in this newsgroup, [within the last couple of
> months, or I wouldn't remember it], and I'm not about to go wading
> through all this drivel trying to find one particular piece of drivel.
If it's posted in a newsgroup then it must be true. I've seen numbers going
both ways. I file those the same place I file the benchmarks.
|
| |
|
| |
 |
asj

|
Posted: 2003-7-13 11:17:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Jay Glynn wrote:
> If it's posted in a newsgroup then it must be true. I've seen numbers going
> both ways. I file those the same place I file the benchmarks.
here ya go (it's actually 31% moving to java):
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=WMGta.2319%24P%25.81935%40news.uswest.net&rnum=1&prev=/groups%3Fq%3D%2Bjava%2Bvb%2B.net%2Bdisenchanted%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3DWMGta.2319%2524P%2525.81935%2540news.uswest.net%26rnum%3D1
A new survey of developers shows that existing Visual Basic developers
are moving to Microsoft's upgraded Visual Basic .Net as well as to Java
and other language alternatives to build their applications going
forward.
A survey to be released Tuesday by Evans Data Corp., Santa Cruz, Calif.,
shows that 43 percent of developers surveyed who said they are Visual
Basic developers, plan to cut back on their use of the popular Microsoft
development platform.
Of those saying they plan to reduce their use of Visual Basic, 37
percent said they plan to migrate to Visual Basic .Net.條argely from
Visual Basic 6.0, the last non-.Net version of the product. Yet, 31
percent said they plan to move to Java and 39 percent said they will be
migrating to C#, Microsoft's Java-like language for building Internet
applications and Web services.
Although, Visual Basic is used by 52 percent of all software developers,
this survey梬hich Evans Data completed in April梚ndicates that not only
is the Visual Basic follow-on language popular amongst VB developers,
but so is Java and C#.
http://www.eweek.com/article2/0,3959,1054906,00.asp
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-13 18:25:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Kent Paul Dolan wrote:
> "Frank Mulvenny" <email***@***.com> wrote:
>
>> Kent Paul Dolan wrote:
>
>>> Former VB programmers are abandoning that tool, and thus
>>> providing revenue lossage there for M$, in droves.
>
>> Of course they presumably have already purchased VB6, and so are not
>> bringing in further revenue for MS by sticking with it.
>
> Except that M$'s standard practice has been to release alphas as
> commercial releases, and then sell bugfixes as "upgrades", making for
> a perpetual revenue stream among those who didn't learn to avoid that
> kind of slavery when the phone company was broken up and had to allow
> phones to be sold rather than rented forever as before.
>
Strange, emdollar never charged for any VB6 service packs. Dunno what you
are referring to here at all.
>> If they move to .NET and buy VS.NET they will provide revenue to MS.
>
> Not, in particular, more per year than they were before as captive
> developers to a proprietary environment, and now there are fewer of
> them.
>
See above - microdollaroft received no income from existing VB6 developers
stemming from them being VB6 developers.
If I was being uncharitable I'd reckong you suffer from a World View that
may cloud your perception of reality...
>>> Now mix in the earlier documented > 30% lossage
>>> to other camps (such as Java) in the process,
>
>> Can you provide a link to the documentation? Thanks.
>
> Nope. It was posted in this newsgroup, [within the last couple of
> months, or I wouldn't remember it], and I'm not about to go wading
> through all this drivel trying to find one particular piece of drivel.
>
Hmmmmm, fair enough.
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-13 18:29:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> http://www.eweek.com/article2/0,3959,1054906,00.asp
Well, that article describes a survey that talks about peoples plans, rather
than current reality.
As a VB6 [now legacy I suppose] developer I can't see the attraction of
VB.NET - it has no benefits over C#, and it's horribly verbose. So, it's the
37% VB.NETters that have me confused :-)
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-14 0:12:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Frank Mulvenny wrote:
>>
>> asj wrote:
>>
>>> http://www.eweek.com/article2/0,3959,1054906,00.asp
>>
>> Well, that article describes a survey that talks about peoples
>> plans, rather than current reality.
>
> well, people's plans a few months ago are now current reality....the
> point being vb is now "dead" (the gospel accg to microsoft) and people
> have to move over to another platform...and it looks like java will be
> getting a big proportion of that (not that i'm that too enthusiastic
> about it, since i'd rather have the supply of developers low and
> demand high).
Well, plans dont always pan out, do they?
Bit of wishful thinking until some concrete figures turn up methinks.
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-14 5:18:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Frank Mulvenny wrote:
>> Well, plans dont always pan out, do they?
>> Bit of wishful thinking until some concrete figures turn up methinks.
>
> so, what do you think is happening? people are sticking to vb's
> carcass?
No.
>pleeezzzzz....you're sorta as naive as those j++ developers
> who suddenly had the rug pulled out from under them..
>
> now, instead of playing "monkey don't see, don't hear", why not give
> some link that shows otherwise?
Oh do calm down.
|
| |
|
| |
 |
asj

|
Posted: 2003-7-14 6:05:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Frank Mulvenny wrote:
>
> Oh do calm down.
hmmm... am i otherwise? i point out a survey that shows support for my
argument, you give me platitudes...pretty effective thinking there,
dude...
|
| |
|
| |
 |
Tom Shelton

|
Posted: 2003-7-14 23:25:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
"asj" <email***@***.com> wrote in message news:email***@***.com...
> Frank Mulvenny wrote:
> >
> > asj wrote:
> >
> > > http://www.eweek.com/article2/0,3959,1054906,00.asp
> >
> > Well, that article describes a survey that talks about peoples plans,
rather
> > than current reality.
>
> well, people's plans a few months ago are now current reality....the
> point being vb is now "dead" (the gospel accg to microsoft) and people
asj,
MS just announced the VB6 SP6 Beta. It is still a supported product. You
can even buy it new through the MS downgrade program. It is going to be
supported until 2008 - and will probably have another SP or two. It isn't
dead. Yes, MS has discontinued that line of the product, but you still have
a few years to migrate. A lot of VB developers aren't going to be able to
transition for another year or two. I see this discussion all the time on
the VB groups. Most VB'ers that I've talked to like VB.NET or C#, but they
just can't justify the migration yet - though they plan to eventually.
> have to move over to another platform...and it looks like java will be
> getting a big proportion of that (not that i'm that too enthusiastic
> about it, since i'd rather have the supply of developers low and demand
> high).
You might want to talk to Sun... They are pushing that 10 million developer
thing (Never going to happen!). That's like 3 times the number of VB
programmers.... So I guess if Sun gets it's way, Java programmers will be
making about $25,000 / year...
Tom Shelton
|
| |
|
| |
 |
asj

|
Posted: 2003-7-15 0:44:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Tom Shelton wrote:
> asj,
>
> MS just announced the VB6 SP6 Beta. It is still a supported product. You
> can even buy it new through the MS downgrade program. It is going to be
> supported until 2008 - and will probably have another SP or two. It isn't
> dead. Yes, MS has discontinued that line of the product, but you still have
> a few years to migrate. A lot of VB developers aren't going to be able to
> transition for another year or two. I see this discussion all the time on
> the VB groups. Most VB'ers that I've talked to like VB.NET or C#, but they
> just can't justify the migration yet - though they plan to eventually.
>
heh, well it does have a death sentence written all over it, mayhaps
like those hopeless dudes in stephen king's the green mile: just killing
time waiting for the chair.......sorta like buying a car that you know
will fall apart a few years later...good deal....really SMART move....
> You might want to talk to Sun... They are pushing that 10 million developer
> thing (Never going to happen!). That's like 3 times the number of VB
> programmers.... So I guess if Sun gets it's way, Java programmers will be
> making about $25,000 / year...
i don't believe it either..it's a marketing ploy...they'll increase it
by a lot, but never to 10 million, thank god.
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-15 1:32:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Frank Mulvenny wrote:
>>
>> Oh do calm down.
>
> hmmm... am i otherwise? i point out a survey that shows support for my
> argument, you give me platitudes...pretty effective thinking there,
> dude...
Well let's see, oh, you snipped your comments, conveniently. You did go into
standard rant mode a little, and I dont enjoy debating with someone who's
'jumping up and down on the table' as it were.
Also, you not being able to back up a survey of a few months ago with
concrete figures is not my fault, and I'm afraid the solution to that is not
for me to disprove your postulations with hard facts. In summary, the onus
lies with you.
Cheers
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-15 1:33:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Tom Shelton wrote:
>
>> asj,
>>
>> MS just announced the VB6 SP6 Beta. It is still a supported
>> product. You can even buy it new through the MS downgrade program.
>> It is going to be supported until 2008 - and will probably have
>> another SP or two. It isn't dead. Yes, MS has discontinued that
>> line of the product, but you still have a few years to migrate. A
>> lot of VB developers aren't going to be able to transition for
>> another year or two. I see this discussion all the time on the VB
>> groups. Most VB'ers that I've talked to like VB.NET or C#, but they
>> just can't justify the migration yet - though they plan to
>> eventually.
>>
>
> heh, well it does have a death sentence written all over it, mayhaps
> like those hopeless dudes in stephen king's the green mile: just
> killing
> time waiting for the chair.......sorta like buying a car that you know
> will fall apart a few years later...good deal....really SMART move....
>
You should go public with this insidious 'self destruct' feature you've
found in VB6 ;-) emdollar shouldnt be allowed to get away with it.
|
| |
|
| |
 |
asj

|
Posted: 2003-7-15 3:57:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Frank Mulvenny wrote:
> You should go public with this insidious 'self destruct' feature you've
> found in VB6 ;-) emdollar shouldnt be allowed to get away with it.
i believe it's going to be "strangled", not "self-destruct"......like i
said, mayhaps you like building your apps using a platform that you KNOW
will be gone in just a few years...i like building my house with
sturdier stuff, and i'm sure many others agree (which explains why
people are leaving vb and going to java or .net).
|
| |
|
| |
 |
asj

|
Posted: 2003-7-15 4:04:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Frank Mulvenny wrote:
> Also, you not being able to back up a survey of a few months ago with
> concrete figures is not my fault, and I'm afraid the solution to that is not
> for me to disprove your postulations with hard facts. In summary, the onus
> lies with you.
>
sorry, insulting is just not going to work...i back up arguments with
link and a survey, you seem to think you can hold up your end by passing
the ball back with nothing on it.
here's an earlier report of its decline:
---------------------------------------------------------
http://www.advisor.com/doc/08156
"A survey of VB developers shows VB use is declining while Java, XML,
and C# are becoming more popular.
ARTICLE INFO
MICROSOFT VISUAL BASIC ADVISOR PORTAL
It seems that new, Internet-focused programming technologies are having
an effect on Visual Basic (VB) use. VB programming has been on the
decline since spring of 2000, reports Evans Data Corporation in its
North American Developer Survey, a continuing research series based on
in-depth interviews with over 600 developers.
In the spring of 2000, 62 percent of developers were using Visual Basic
some of the time; among survey participants, mean time spent using the
language was 27.8 percent total programming time. But today, only 46
percent report using Visual Basic, and the average time spent using it
is down to 20.8 percent. Developers say they will use VB less in the
future."
----------------------------------------------------------
now, will you actually back up your arguments with something more solid
than an insult?
hmmm.................i would guess not.
|
| |
|
| |
 |
Frank Mulvenny

|
Posted: 2003-7-16 2:05:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
asj wrote:
> Frank Mulvenny wrote:
>> Also, you not being able to back up a survey of a few months ago with
>> concrete figures is not my fault, and I'm afraid the solution to
>> that is not for me to disprove your postulations with hard facts. In
>> summary, the onus lies with you.
>>
>
>
> sorry, insulting is just not going to work...i back up arguments with
Insulting? Hmmm cant see an insult there. Sounds like you might be going
into jumpy-up-and-down rant mode again...
> link and a survey, you seem to think you can hold up your end by
> passing
> the ball back with nothing on it.
I've said it before and I'll say it again: If you wish to make assertions
without basis in hard fact then it really is your responsibility to deal
with that, not other peoples'
Sorry, I dont feel like indulging in the meaningless back-and-forth that you
seem so keen on. If you want to play, go and ask another of the kids.
Cheers.
|
| |
|
| |
 |
asj

|
Posted: 2003-7-16 2:49:00 |
Top |
java-programmer >> .Net: 3 Years of the 'Vision' Thing
Frank Mulvenny wrote:
> I've said it before and I'll say it again: If you wish to make assertions
> without basis in hard fact then it really is your responsibility to deal
> with that, not other peoples'
i give two links and surveys showing VB usage dropping and developers
planning on leaving VB, you give me fluffy talk, not one single example
backing up your case, and seem to be totally blind to the two
URLs...hey, good job there! you must have been in the debating team in
high school eh?
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- Secure FTP API for Java ReleasedMyJavaWorld.com is pleased to announce the release of Secure FTP API
for Java, an API that allows you to add secure file transfer
capabilities to your Java applications. Some of the features of Secure
FTP API for Java are:
Complete implementation of the File Transfer Protocol as defined RFC
959
Support for secure file transfer using SSL/TLS as defined in RFC 2228.
Both Explicit and Implicit SSL connections are supported.
Extendable architecture to support legacy/non-standard FTP servers
Event notification to notify the connection and transfer evens to
interested objects.
Support for active and passive data transfers
Support for ASCII and Binary data types
Set the time outs and buffer size to use for the control and data
connections
And many more...
Check it out at http://www.myjavaworld.com
Regards
Sai Pullabhotla
- 2
- "no cmp field defined in cmp ejb"I'm so boring I know... this is my problem...
I wrote the following entity bean, it rappresents something like this:
primary key id (managed by the container)
foreign key formulation_product (cmp relationship field)
foreign key ingredient (cmp relationship field)
public abstract class FormulationComponentBean implements EntityBean {
/* Relationship field getters */
public abstract FormulationProduct getFormulationProduct();
public abstract Ingredient getIngredient();
/* Relationship field setters */
public abstract void setFormulationProduct(FormulationProduct product);
public abstract void setIngredient(Ingredient ingredient);
[...create methods and others ejb* methods...]
}
When I try to autogenerate database table with Sun Deploytool I get this
error message: "no cmp field defined in cmp ejb".
I really do not need any persistent field, but only relationship field...
should I insert a fake persisten field just to satisfy that silly utility?
Or I am wrong on something?
Thanks a lot for any help...
- 3
- Java is a third class language.Hi Mark Thornton,
Re: Windows' GDI for easily writing to any raster device
using essentially the same code,
regardless of the printer or the screen.
You asserted,
" Not only does it work well ( in Java )
it also supports some features ( e.g. anti-aliasing )
which may not be available on the OS. "
Even if that were true ( and I highly doubt it ),
Java still couldn't do it with out the OS.
Java Overlays an OS, it doesn't replace it.
Java is a third class language.
No one would use it if they didn't have other options.
- 4
- 5
- Drawing on TabsHi all - I have an application where my main frame has a tabbed interface,
and each tab has a JPanel.
I would like to draw a line graph on the second tab (the first tab is where
data is entered) and a bar graph on the second tab.
The problem I have is how to draw on the second or 3rd tabs.
I googled and one solution was to subclass the JPanel and then override the
paintComponent() method. I tried but it doesn't seem to work. I am probably
just doing it wrong.
How would I go about defining/extending the JPanel class? or is there some
other container that would serve this purpose better?
Any help is appreciated.
(remove the +NOSPAM from my email address...)
- 6
- extends DefaultTableModel ???Hi
I have an exception of the line "return content.size();" in
getRowCount(), it said the vector content is null. But if i extends
the AbstractTableModel rather than DefaultTableModel, no exception,
please tell me why?
thanks
from Peter
public class MyTableModel extends DefaultTableModel {
String columnNames[] = {"1", "2", "3", "4", "5"};
Vector content=new Vector();
public MyTableModel() {
}
public int getColumnCount() {
return columnNames.length;
}
public String getColumnName(int col) {
return columnNames[col];
}
public Object getValueAt(int row, int column) {
"Peter"
}
public int getRowCount() {
return content.size();
}
}
- 7
- Unexpected Signal : 11 occurred at PC=0x2845BB2FHi ,
Just reporting this core dump from my web application
Regards
Samuel Jackson
----------------------------------------------
root@ds226# more hs_err_pid77432.log
Unexpected Signal : 11 occurred at PC=3D0x2845BB2F
Function=3Dfollow_stack__9MarkSweep+0x3F
Library=3D/jdk1.4.2/jre/lib/i386/client/libjvm.so
Dynamic libraries:
0x8048000 /usr/local/jdk1.4.2/bin/java
0x2806c000 /usr/local/lib/libc_r.so.4
0x28123000 /jdk1.4.2/jre/lib/i386/client/libjvm.so
0x2866a000 /usr/local/lib/libstdc++.so.3
0x286af000 /usr/local/lib/libm.so.2
0x286ca000 /jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x286d8000 /jdk1.4.2/jre/lib/i386/libverify.so
0x286f3000 /jdk1.4.2/jre/lib/i386/libjava.so
0x28714000 /jdk1.4.2/jre/lib/i386/libzip.so
0x34fb2000 /jdk1.4.2/jre/lib/i386/libnet.so
0x2804e000 /usr/libexec/ld-elf.so.1
Heap at VM Abort:
Heap
def new generation total 2304K, used 256K [0x2c5b0000, 0x2c830000, =
0x2ca90000)
eden space 2048K, 0% used [0x2c5b0000, 0x2c5b0000, 0x2c7b0000)
from space 256K, 100% used [0x2c7f0000, 0x2c830000, 0x2c830000)
to space 256K, 0% used [0x2c7b0000, 0x2c7b0000, 0x2c7f0000)
tenured generation total 31080K, used 30993K [0x2ca90000, 0x2e8ea000, =
0x305b0000)
the space 31080K, 99% used [0x2ca90000, 0x2e8d4488, 0x2e8d4600, =
0x2e8ea000)
compacting perm gen total 14336K, used 14218K [0x305b0000, 0x313b0000, =
0x345b0000)
the space 14336K, 99% used [0x305b0000, 0x31392af8, 0x31392c00, =
0x313b0000)
Local Time =3D Sat Nov 27 13:30:41 2004
Elapsed Time =3D 63665
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002F1
# Please report this error to
# email***@***.com mailing list
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_19_aug_2004_10_42 =
mixed mode)
#
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 8
- Write PNG from MemoryImageSourceI have an application which dynamically generates images using
MemoryImageSource to produce a java.awt.Image object. I'd like to be
able to write these images out as pngs.
I've found the javax.imageio class which will write out pngs, but only
from a BufferedImage and not from a basic Image. I've not been able to
find a way to create a BufferedImage from an Image.
Can anyone suggest how I can write out these images?
Cheers
Simon.
- 9
- Jedit: Error about MouseWheelListenerI installed the same Jedit archive on Windows and on HP-UX (with
JavaVM-1.3). On
Windows, it runs fine. On Unix, I get the following error message on
startup:
java.lang.NoClassDefFoundError: java/awt/event/MouseWheelListener
Could it be that something is missing in my CLASSPATH? Where is the
MouseWheelListener
supposed to be? I thought this class was added in 1.4, but note that
the
installation notes for JEdit say that it can run under Unix with Java
1.3.
Ronald
- 10
- Preventing URLConnection from buffering entire output streamIn my client application, I upload huge files via HTTP.
The URLConnection class seems to automatically buffer
the entire contents, then when the OutputStream associated with
the URLConnection is closed, it computes the length
and prepends a Content-Length header before actually sending
any bytes to the web server.
This results in an OutOfMemoryException when the file is huge.
My application uses Transfer-Encoding: chunked, but
that doesn't help when the entire stream gets buffered anyway.
Is there a way around this without writing my own URLConnection
clone based on Sockets? Calling flush() on the OutputStream
seems to have no effect.
I understand that a workaround would be to use the new features
of Java 1.5, but that's too new to expect end users to have.
Any help would be appreciated.
Thanks!
Mark Riordan
Note: email address in header, email***@***.com, must have
"NoSpam" removed.
- 11
- window basis..Jep!
I think i need a good tutorial here,
would please receive few links, in need to get familiar with window opening,
sizening and drawing images on it..
Yours : JariTapio
Homepage : www.EuroJari.net
EMail : email***@***.com
- 12
- Reverse Engineer UML Diagrams From Source CodeI'm looking for a good tool that can automatically generatre UML
diagrams from source code.
I know Together can do this, but it's rather expensive....
I was hoping for something open source. What are my options? What
should I be considering? I plan to use it mainly for personal use for
building medium sized applciations.
I also found this one:
http://jrefactory.sourceforge.net/
Has anyone used it?
TIA,
cpp
- 13
- my JEditorPane.read() method is never referenced, why?[code]
public class SimpleHTMLRenderableEditorPane extends JEditorPane {
// borrowed from http://www.java2s.com/Code/Java/Swing-JFC/JEditorPaneandtheSwingHTMLPackage9.htm
protected String getNewCharSet(ChangedCharSetException e) {
String spec = e.getCharSetSpec();
if (e.keyEqualsCharSet()) {
// The event contains the new CharSet
return spec;
}
// The event contains the content type
// plus ";" plus qualifiers which may
// contain a "charset" directive. First
// remove the content type.
int index = spec.indexOf(";");
if (index != -1) {
spec = spec.substring(index + 1);
}
// Force the string to lower case
spec = spec.toLowerCase();
StringTokenizer st = new StringTokenizer(spec, " \t=", true);
boolean foundCharSet = false;
boolean foundEquals = false;
while (st.hasMoreTokens()) {
String token = st.nextToken();
if (token.equals(" ") || token.equals("\t")) {
continue;
}
if (foundCharSet == false && foundEquals == false
&& token.equals("charset")) {
foundCharSet = true;
continue;
} else if (foundEquals == false && token.equals("=")) {
foundEquals = true;
continue;
} else if (foundEquals == true && foundCharSet == true) {
return token;
}
// Not recognized
foundCharSet = false;
foundEquals = false;
}
// No charset found - return a guess
return "8859_1";
}
public void read(InputStream in, Object desc) {
System.out.println("do you see this?");
try {
super.read(in, desc);
} catch (ChangedCharSetException e) {
String charSet = getNewCharSet(e);
System.out.println("charSet = " + charSet);
try {
in.reset();
InputStreamReader reader = new InputStreamReader(in,
charSet);
super.read(reader, desc);
} catch (ChangedCharSetException ee) {
System.out.println("huh?");
} catch (IOException ee) {}
} catch (IOException e2) {}
}
}
[/code]
Per reference in http://kickjava.com/348.htm I am having to overwrite
JEditorPane.read() with my own method, I still get
ChangedCharSetException thrown when it should have been captured and
you should have at least seen something in output, yet you see noting
whatsoever except the ChangedCharSetException when you do this line:
[code]
// browser IS OF TYPE
SimpleHTMLRenderableEditorPane
browser.read(
new BufferedReader(new
StringReader(browser.cleanHTML(getURL()))),
browser.getDocument()
); // SimpleHTMLRenderableEditorPane HAS
METHOD cleanHTML(URL url) WHICH NEVER THROWS ChangedCharSetException
[/code]
Why is it that my method appears to never be referenced and the
default read() method in JEditorPane is referenced instead? Ideas?
Thanks
Phil
- 14
- RMI newbieI am tring to learn rmi and having some problems
Why when I call getStockPrice on the client side does it print the starting
value (1.34) and no the current value that prints out on the server side
from the System.out.println statements?
public class Stock
{
private String Name;
private double value;
Stock(String name, double val)
{
this.Name=name;
this.value=val;
}
public double getvalue()
{
return value;
}
public void setvalue(double val)
{
this.value=val;
}
public String getname()
{
return Name;
}
}
import java.util.*;
import java.rmi.*;
import java.rmi.registry.*;
import java.net.MalformedURLException;
public class StockClient
{
public static void main(String args[])
{
String name="A";
try {
StockInterface a = (StockInterface)
Naming.lookup("rmi://localhost:41111/StockImpl");
System.out.println("price of "+ name + " is " +
a.getStockPrice(name));
}
catch (Exception re)
{
System.out.println(re);
}
}
}
import java.rmi.*;
import java.util.*;
import java.rmi.server.*;
import java.net.MalformedURLException;
public class StockImpl extends UnicastRemoteObject
implements StockInterface
{
private ArrayList<Stock> list;
public StockImpl() throws RemoteException
{
list=new ArrayList<Stock>();
list.add(new Stock("A",1.34));
list.add(new Stock("B",0.84));
list.add(new Stock("C",5.04));
list.add(new Stock("D",2.03));
list.add(new Stock("E",5.00));
list.add(new Stock("F",7.00));
list.add(new Stock("G",11.34));
list.add(new Stock("H",2.40));
list.add(new Stock("I",8.21));
list.add(new Stock("J",1.45));
}
public void sim()
{
Random rand =new Random();
Stock temp;
int abc=rand.nextInt(list.size());
temp=list.get(abc);
System.out.println(temp.getvalue() + " rand = "+abc);
temp.setvalue(temp.getvalue()+rand.nextDouble());
System.out.println(temp.getvalue());
}
public double getStockPrice(String Name) throws RemoteException
{
Stock temp;
//System.out.println("List size "+list.size());
//System.out.println("Name "+Name);
for(int i=0;i<list.size();i++)
{
temp = list.get(i);
if(Name.compareTo(temp.getname())==0)
{
return temp.getvalue();
}
}
return -1.0;
}
public ArrayList<Stock> getlist()
{
return list;
}
public static void main(String args[])
{
//System.setSecurityManager(new RMISecurityManager());
try {
StockImpl server = new StockImpl();
Naming.rebind("rmi://localhost:41111/StockImpl",server);
System.out.println("Created and registered StockImpl object");
StockImpl a= new StockImpl();
while(true)
{
a.sim();
try{ Thread.sleep(100); }
catch(Exception e) { }
System.out.println("Out "+a.getStockPrice("A"));
}
}
catch (RemoteException re) { }
catch (MalformedURLException me) { }
}
}
import java.rmi.*;
public interface StockInterface extends java.rmi.Remote
{
double getStockPrice(String Name) throws RemoteException;
}
- 15
- casinos/lasvegas<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<P>Las Vegas / Casino domains for sale in <A
href="http://www.supernet.biz">www.supernet.biz</A> !!!</P>
<P>****************************************************</P>
<P>casinos.com.lv (Casinos Com "Las Vegas")</P>
<P>slots.lv (Slots "Las Vegas")</P>
<P>bet.com.lv (Bet Com "Las Vegas")</P>
<P>nevada.com.lv (Nevada Com "Las Vegas") </P>
<P>poker.com.lv (Poker Com "Las Vegas")</P>
<P>roulette.com.lv (Roulette Com "Las Vegas")</P>
<P>gambling.com.lv (Gambling Com "Las Vegas")</P>
<P>blackjack.com.lv (BlackJack Com "Las Vegas")</P>
<P>jackpot.com.lv (Jackpot Com "Las Vegas")</P>
<P>videopoker.lv (VideoPoker "Las Vegas")</P>
<P>videopoker.com.lv (VideoPoker Com "Las Vegas")</P>
<P>resort.lv (Resort "Las Vegas")</P>
<P>cash.lv (Cash "Las Vegas")</P>
<P> </P>
<P>for details or for MORE domains go to: <A
href="http://www.supernet.biz">www.supernet.biz</A> </P>
<P> </P>
<P> </P>
</BODY>
</HTML>
|
|
|