Qustion about the clear() of List class
hi all
i just want to know if this clear() method really dereferences objects contained in a List container and releases the memories occupied by those objects. if it doesn't, how should i free the memories. thanks
...how should i free the memorieswell, smoking marihuana should help ;-)
no, being serious...
you can't free the memory yourself.
this is what the garbage collector of your VM does for you.
whenever an object is not being referenced anymore (neither in your list nor outside in your programme) it will be destroyed -
- but you don't know when exactly. the GC will do it, or even not ( when your app exits before the GC did his job)
and clear() or remove() doesn't dereference something, it just deletes a reference value to your object(s). then it's virtually gone.
if you write aggressive performance-hungry code, you should read into GC-tuning techniques.
Similar Messages
-
How do you get Itunes to go to the free radio station list, I'm not talking about the one that lists the price next to the song that's playing, I'm talking about the one that gives you 50 diffrent genes to select from?
This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes forums.
But answering quickly, if you mean the streaming stations, click the Internet item:
If you don't see that item, checkmark "Internet Radio" in the General preferences in iTunes.
Regards. -
Anybody can tell me what about the "dirty dozen" list, and our privacy using "Safari ", from Apple?
Here is some info about it.
http://www.thetechherald.com/article.php/201046/6428/Is-it-fair-to-judge-softwar e-based-on-reported-vulnerabilities
Bit9 said that to qualify, an application had to have a vulnerability with a CVSS score of 7-10 reported between January 1, 2010 through October 21, 2010.
When asked how many of the vulnerabilities in the list have been patched, Bit9 said they did not have those details. Harry Sverdlove, the CTO at Bit9 did comment that while the patched vs. unpatched data isn’t fully available, almost all of the NIST reported vulnerabilities have been patched.
For us, the more interesting view is to look at how many of those Apple-based vulnerabilities sill exist, and how long did it take Apple to fix them.
IBM looked at the number of reported vulnerabilities in the first half of 2010, and then graded the vendor on their patch response. According to IBM’s figures, Google, Apple, Adobe, Mozilla, and Microsoft scored well when it came to addressing issues. Very well.
By the end of the first half of 2010, Apple and Google patched 100-percent of the high risk vulnerabilities reported. Adobe had patched 98-percent of them, while Microsoftpatched 93 percent, and Mozilla had patched 96-percent.
So if, as the IBM report shows, the vendors are quick to patch, once again we have to ask if a high number of reported vulnerabilities means that a given vendor’s software is riddled with issues and should be avoided. The answer is no.
Software will always have flaws. It isn’t the number of problems that matters. It is how long a vendor takes to address and fix those problems that counts. According to IBM, there have been a record number of vulnerability disclosures this year.
At the same time, the vendors hardest hit by those disclosures, the same vendors on the Bit9’s Dirty Dozen, fixed things the fastest. So to some, it is worth the risk to use the software listed in the Dirty Dozen, as the vendors use both proactive and reactive measures when it comes to security. -
About the Where-used list in BOM
Hi,
can anybody tell how to use the function moudle 'CS_WHERE_USED_MAT' to get the list of materials for each BOM component. Here I have to take inputs from the tables MAST, STKO, STPO
Thanks a lot for your valuable time,
Regards,
BhaskarHi,
The significance of Where used list is that, one can know about an item, where all it being used.
For eg.. If an item 'A' is used in assemblies X,Y,Z(BOM). If you use CS15 and enter item A and Qty., the result shows that, item A is required in X,Y,Z BOMs.
One need not remember about, where the item being used. Just you can use this transaction and know
Regards,
KNM -
Qustion about the transparent table PRPS
Hi experts,
I have a question about this table PRPS.
When I use SE11 to search some entries from this table,first,I input value for the field POSID on the selection screen,I can find out the entries;Then I copy the value of the field PSPNR and input this value to the selection screen,I click the button 'execute',but the system hints that 'WBS element 00000004 does not exist'.I don't know why.Could you please give me some advice to explain this question??
thanks & best regards,
VillyHi,
Currently your system is showing internal 8 digit number in PSPNR. I am sure it must be different from POSID. The conversion exit is disabled in your system. To enable, goto Settings->User parameters on execution screen, check the tick box 'Check conversion exit' under format section. Come out of the table and re-enter. Now after execution you will observe that POSID and PSPNR are same.
Its just an issue of conversion exit not being active.
Regards -
Qustion about the Audigy 2 ZS internal dr
<FONT color=#6666ff size=5>I am a neat freak when it comes to my computer please all about air flow. Will i just got the Audigy 2 ZS platinum i was wondering if i could just use a Rounded IDE Single Device Cable. Also this sound card is great.
Thank you very much! I really couldn't see that there, duh
If I were to get that, what differences would there be from that and an Audigy ZS Pro? -
A little bit confused about the ipv6 prefix-list
when I configured ;
ipv6 prefix-list abc permit ::/0 ge 0
which I wish is to permit all the ipv6 routes,
but the running information becomes "ipv6 prefix-list abc permit ::/0" which only matched the default ipv6 routes
what is wrong with meHardware > Version > 5.1
Don't forget to test it on real hardware. There should be plenty of iOS 5.1-limited devices available real soon now. Keep one of those for testing. -
Two questions about the methods in InputStream class.
1, close() method
the API says when the method is invoked, the input stream and its associateive channels are closed to release system resources.
What does it mean by "associative channels"?
2, read(byte[] b) method
the API says it reads b bytes of data and returns b.length as an Integer, however, I dont think what can this method do, because unlike normal read(), which returns the actual byte of data read, but returns the no of byte read, which I cant find a way to mainpulate with the data read.
Any help??
please help
thankswhile(true){
int lim = in.read(bufferArray);
if(lim == -1)break;
buffer.limit(lim);
buffer.flip();
channel.write(buffer);
buffer.clear();
while (true)
int lim = in.read(buffer);//No such method in InputStream
if (lim < 0) break;
buffer.flip();
channel.write(buffer);
buffer.compact();
My guess is that you didn�t read my original post properly. The variable in is an InputStream and it doesn�t have a read method that takes a ByteBuffer as an argument.
In my code I am using a byte array, which is backed by the buffer, I don�t believe that when writing to this byte array , the InputStream will try to update the internal accounting system of the buffer, that�s why I have done this manually by setting the limit of the buffer (the number of bytes actually read are set as the limit).
Correct me if I am a wrong thanks for your feedback . -
Muvo TX, qustion about the me
Muvo TX SE:
Menu -> Settings -> Cue/Review <--- what is this and what does it make?antsh,
When Cue/Review has been enabled, you will hear the audio file skipping through when you fast forward or rewind. Just turn it on and try and you will know what I mean.
Jason -
Clear access-list command syntax?
hello all. running 7.2(2) on an ASA5510. in the Cisco documentation here:
http://www.cisco.com/en/US/docs/security/asa/asa72/command/reference/c1_72.html#wp2032432
it seems to indicate that you can clear the counters on all your access-lists simultaneously with the clear access-list counters command, and that specifying a particular access-list ID is optional, however, in my ASA this does not seem to be the case, as i am forced to specify an access-list name. is this just a discrepancy in the documentation, am i misinterpreting it, or is there a way to actually accomplish this?
thanks for your time.I would say that is an error in documentation. I see no way of clearing ALL counters. I checked a couple of my firewalls (different versions) and I can only clear an ACL at a time.
#clear access-list inside_acl counters
HTH and please rate. -
Namburi,
When you said you used the Reg Exp tool, did you use it only as
preconfigured by the iMT migrate application wizard?
Because the default configuration of the regular expression tool will only
target the files in your ND project directories. If you wish to target
classes outside of the normal directory scope, you have to either modify the
"Source Directory" property OR create another instance of the regular
expression tool. See the "Tool" menu in the iMT to create additional tool
instances which can each be configured to target different sets of files
using different sets of rules.
Usually, I utilize 3 different sets of rules files on a given migration:
spider2jato.xml
these are the generic conversion rules (but includes the optimized rules for
ViewBean and Model based code, i.e. these rules do not utilize the
RequestManager since it is not needed for code running inside the ViewBean
or Model classes)
I run these rules against all files.
See the file download section of this forum for periodic updates to these
rules.
nonProjectFileRules.xml
these include rules that add the necessary
RequestManager.getRequestContext(). etc prefixes to many of the common
calls.
I run these rules against user module and any other classes that do not are
not ModuleServlet, ContainerView, or Model classes.
appXRules.xml
these rules include application specific changes that I discover while
working on the project. A common thing here is changing import statements
(since the migration tool moves ND project code into different jato
packaging structure, you sometime need to adjust imports in non-project
classes that previously imported ND project specific packages)
So you see, you are not limited to one set of rules at all. Just be careful
to keep track of your backups (the regexp tool provides several options in
its Expert Properties related to back up strategies).
----- Original Message -----
From: <vnamboori@y...>
Sent: Wednesday, August 08, 2001 6:08 AM
Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
forget about the regular expression potential
Thanks Matt, Mike, Todd
This is a great input for our migration. Though we used the existing
Regular Expression Mapping tool, we did not change this to meet our
own needs as mentioned by Mike.
We would certainly incorporate this to ease our migration.
Namburi
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
All--
Great response. By the way, the Regular Expression Tool uses thePerl5 RE
syntax as implemented by Apache OROMatcher. If you're doing lotsof these
sorts of migration changes manually, you should definitely buy theO'Reilly
book "Mastering Regular Expressions" and generate some rules toautomate the
conversion. Although they are definitely confusing at first,regular
expressions are fairly easy to understand with some documentation,and are
superbly effective at tackling this kind of migration task.
Todd
----- Original Message -----
From: "Mike Frisino" <Michael.Frisino@S...>
Sent: Tuesday, August 07, 2001 5:20 PM
Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
forget about the regular expression potential
Also, (and Matt's document may mention this)
Please bear in mind that this statement is not totally correct:
Since the migration tool does not do much of conversion for
these
utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
the translation tool, and the regular expression tool, and severalother
smaller tools (like the jar and compilation tools). It is correctto state
that the extraction and translation tools only significantlyconvert the
primary ND project objects (the pages, the data objects, and theproject
classes). The extraction and translation tools do minimumtranslation of the
User Module objects (i.e. they repackage the user module classes inthe new
jato module packages). It is correct that for all other utilityclasses
which are not formally part of the ND project, the extraction and
translation tools do not perform any migration.
However, the regular expression tool can "migrate" any arbitrary
file
(utility classes etc) to the degree that the regular expressionrules
correlate to the code present in the arbitrary file. So first andforemost,
if you have alot of spider code in your non-project classes youshould
consider using the regular expression tool and if warranted adding
additional rules to reduce the amount of manual adjustments thatneed to be
made. I can stress this enough. We can even help you write theregular
expression rules if you simply identify the code pattern you wish to
convert. Just because there is not already a regular expressionrule to
match your need does not mean it can't be written. We have notnearly
exhausted the possibilities.
For example if you say, we need to convert
CSpider.getDataObject("X");
To
RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
rule:
<!--getPage to getViewBean-->
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getViewBean($1ViewBean.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
Following this example a getDataObject to getModel would look
like this:
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getModel($1Model.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
In fact, one migration developer already wrote that rule andsubmitted it
for inclusion in the basic set. I will post another upgrade to thebasic
regular expression rule set, look for a "file uploaded" posting.Also,
please consider contributing any additional generic rules that youhave
written for inclusion in the basic set.
Please not, that in some cases (Utility classes in particular)
the rule
application may be more effective as TWO sequention rules ratherthan one
monolithic rule. Again using the example above, it will convert
CSpider.getDataObject("Foo");
To
getModel(FooModel.class);
Now that is the most effective conversion for that code if that
code is in
a page or data object class file. But if that code is in a Utilityclass you
really want:
>
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
So to go from
getModel(FooModel.class);
To
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
You would apply a second rule AND you would ONLY run this rule
against
your utility classes so that you would not otherwise affect yourViewBean
and Model classes which are completely fine with the simplegetModel call.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getModel\(]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getModel\(]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
A similer rule can be applied to getSession and other CSpider APIcalls.
For instance here is the rule for converting getSession calls toleverage
the RequestManager.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getSession().]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
----- Original Message -----
From: "Matthew Stevens" <matthew.stevens@e...>
Sent: Tuesday, August 07, 2001 12:56 PM
Subject: RE: [iPlanet-JATO] Use Of models in utility classes
Namburi,
I will post a document to the group site this evening which has
the
details
on various tactics of migrating these type of utilities.
Essentially,
you
either need to convert these utilities to Models themselves or
keep the
utilities as is and simply use the
RequestManager.getRequestContext.getModelManager().getModel()
to statically access Models.
For CSpSelect.executeImmediate() I have an example of customhelper
method
as a replacement whicch uses JDBC results instead of
CSpDBResult.
matt
-----Original Message-----
From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
Sent: Tuesday, August 07, 2001 3:24 PM
Subject: [iPlanet-JATO] Use Of models in utility classes
Hi All,
In the present ND project we have lots of utility classes.
These
classes in diffrent directory. Not part of nd pages.
In these classes we access the dataobjects and do themanipulations.
So we access dataobjects directly like
CSpider.getDataObject("do....");
and then execute it.
Since the migration tool does not do much of conversion forthese
utilities we have to do manually.
My question is Can we access the the models in the postmigration
sameway or do we need requestContext?
We have lots of utility classes which are DataObjectintensive. Can
someone suggest a better way to migrate this kind of code.
Thanks
Namburi
[email protected]
[email protected]
[Non-text portions of this message have been removed]
[email protected]
[email protected]Namburi,
When you said you used the Reg Exp tool, did you use it only as
preconfigured by the iMT migrate application wizard?
Because the default configuration of the regular expression tool will only
target the files in your ND project directories. If you wish to target
classes outside of the normal directory scope, you have to either modify the
"Source Directory" property OR create another instance of the regular
expression tool. See the "Tool" menu in the iMT to create additional tool
instances which can each be configured to target different sets of files
using different sets of rules.
Usually, I utilize 3 different sets of rules files on a given migration:
spider2jato.xml
these are the generic conversion rules (but includes the optimized rules for
ViewBean and Model based code, i.e. these rules do not utilize the
RequestManager since it is not needed for code running inside the ViewBean
or Model classes)
I run these rules against all files.
See the file download section of this forum for periodic updates to these
rules.
nonProjectFileRules.xml
these include rules that add the necessary
RequestManager.getRequestContext(). etc prefixes to many of the common
calls.
I run these rules against user module and any other classes that do not are
not ModuleServlet, ContainerView, or Model classes.
appXRules.xml
these rules include application specific changes that I discover while
working on the project. A common thing here is changing import statements
(since the migration tool moves ND project code into different jato
packaging structure, you sometime need to adjust imports in non-project
classes that previously imported ND project specific packages)
So you see, you are not limited to one set of rules at all. Just be careful
to keep track of your backups (the regexp tool provides several options in
its Expert Properties related to back up strategies).
----- Original Message -----
From: <vnamboori@y...>
Sent: Wednesday, August 08, 2001 6:08 AM
Subject: [iPlanet-JATO] Re: Use Of models in utility classes - Pease don't
forget about the regular expression potential
Thanks Matt, Mike, Todd
This is a great input for our migration. Though we used the existing
Regular Expression Mapping tool, we did not change this to meet our
own needs as mentioned by Mike.
We would certainly incorporate this to ease our migration.
Namburi
--- In iPlanet-JATO@y..., "Todd Fast" <toddwork@c...> wrote:
All--
Great response. By the way, the Regular Expression Tool uses thePerl5 RE
syntax as implemented by Apache OROMatcher. If you're doing lotsof these
sorts of migration changes manually, you should definitely buy theO'Reilly
book "Mastering Regular Expressions" and generate some rules toautomate the
conversion. Although they are definitely confusing at first,regular
expressions are fairly easy to understand with some documentation,and are
superbly effective at tackling this kind of migration task.
Todd
----- Original Message -----
From: "Mike Frisino" <Michael.Frisino@S...>
Sent: Tuesday, August 07, 2001 5:20 PM
Subject: Re: [iPlanet-JATO] Use Of models in utility classes -Pease don't
forget about the regular expression potential
Also, (and Matt's document may mention this)
Please bear in mind that this statement is not totally correct:
Since the migration tool does not do much of conversion for
these
utilities we have to do manually.Remember, the iMT is a SUITE of tools. There is the extractiontool, and
the translation tool, and the regular expression tool, and severalother
smaller tools (like the jar and compilation tools). It is correctto state
that the extraction and translation tools only significantlyconvert the
primary ND project objects (the pages, the data objects, and theproject
classes). The extraction and translation tools do minimumtranslation of the
User Module objects (i.e. they repackage the user module classes inthe new
jato module packages). It is correct that for all other utilityclasses
which are not formally part of the ND project, the extraction and
translation tools do not perform any migration.
However, the regular expression tool can "migrate" any arbitrary
file
(utility classes etc) to the degree that the regular expressionrules
correlate to the code present in the arbitrary file. So first andforemost,
if you have alot of spider code in your non-project classes youshould
consider using the regular expression tool and if warranted adding
additional rules to reduce the amount of manual adjustments thatneed to be
made. I can stress this enough. We can even help you write theregular
expression rules if you simply identify the code pattern you wish to
convert. Just because there is not already a regular expressionrule to
match your need does not mean it can't be written. We have notnearly
exhausted the possibilities.
For example if you say, we need to convert
CSpider.getDataObject("X");
To
RequestManager.getRequestContext().getModelManager().getModel(XModel.class);
Maybe we or somebody else in the list can help write that regularexpression if it has not already been written. For instance in thelast
updated spider2jato.xml file there is already aCSpider.getCommonPage("X")
rule:
<!--getPage to getViewBean-->
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getPage[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getViewBean($1ViewBean.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
Following this example a getDataObject to getModel would look
like this:
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[CSpider[.\s]*getDataObject[\s]*\(\"([^"]*)\"]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[getModel($1Model.class]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
In fact, one migration developer already wrote that rule andsubmitted it
for inclusion in the basic set. I will post another upgrade to thebasic
regular expression rule set, look for a "file uploaded" posting.Also,
please consider contributing any additional generic rules that youhave
written for inclusion in the basic set.
Please not, that in some cases (Utility classes in particular)
the rule
application may be more effective as TWO sequention rules ratherthan one
monolithic rule. Again using the example above, it will convert
CSpider.getDataObject("Foo");
To
getModel(FooModel.class);
Now that is the most effective conversion for that code if that
code is in
a page or data object class file. But if that code is in a Utilityclass you
really want:
>
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
So to go from
getModel(FooModel.class);
To
RequestManager.getRequestContext().getModelManager().getModel(FooModel.class
You would apply a second rule AND you would ONLY run this rule
against
your utility classes so that you would not otherwise affect yourViewBean
and Model classes which are completely fine with the simplegetModel call.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getModel\(]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getModel\(]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getRequestContext().getModelManager().getModel(]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
A similer rule can be applied to getSession and other CSpider APIcalls.
For instance here is the rule for converting getSession calls toleverage
the RequestManager.
<mapping-rule>
<mapping-rule-primarymatch>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-primarymatch>
<mapping-rule-replacement>
<mapping-rule-match>
<![CDATA[getSession\(\)\.]]>
</mapping-rule-match>
<mapping-rule-substitute>
<![CDATA[RequestManager.getSession().]]>
</mapping-rule-substitute>
</mapping-rule-replacement>
</mapping-rule>
----- Original Message -----
From: "Matthew Stevens" <matthew.stevens@e...>
Sent: Tuesday, August 07, 2001 12:56 PM
Subject: RE: [iPlanet-JATO] Use Of models in utility classes
Namburi,
I will post a document to the group site this evening which has
the
details
on various tactics of migrating these type of utilities.
Essentially,
you
either need to convert these utilities to Models themselves or
keep the
utilities as is and simply use the
RequestManager.getRequestContext.getModelManager().getModel()
to statically access Models.
For CSpSelect.executeImmediate() I have an example of customhelper
method
as a replacement whicch uses JDBC results instead of
CSpDBResult.
matt
-----Original Message-----
From: vnamboori@y... [mailto:<a href="/group/SunONE-JATO/post?protectID=081071113213093190112061186248100208071048">vnamboori@y...</a>]
Sent: Tuesday, August 07, 2001 3:24 PM
Subject: [iPlanet-JATO] Use Of models in utility classes
Hi All,
In the present ND project we have lots of utility classes.
These
classes in diffrent directory. Not part of nd pages.
In these classes we access the dataobjects and do themanipulations.
So we access dataobjects directly like
CSpider.getDataObject("do....");
and then execute it.
Since the migration tool does not do much of conversion forthese
utilities we have to do manually.
My question is Can we access the the models in the postmigration
sameway or do we need requestContext?
We have lots of utility classes which are DataObjectintensive. Can
someone suggest a better way to migrate this kind of code.
Thanks
Namburi
[email protected]
[email protected]
[Non-text portions of this message have been removed]
[email protected]
[email protected] -
For about the past week, Facebook has been taking forever to load (or just doesn't) on my mac (OSX 10.5.8; Safari 5.0.6). Other sites are fine. I routinely empty the cache, clear history, cookies, etc. each time I shut down. Suggestions?
I don't use Facebook, but I can say that clearing the cache every time you shut down is excessive - unless you're sure the cache is corrupt you should leave it alone. It exists to speed up your browsing experience by loading frequently requested items from your drive rather than downloading them fresh from the internet each time. So, I would say stop clearing your cache and see what happens.
As for clearing cookies: I'm not sure what method you currently use, but I would recommend you download and install CCleaner. It's free, and allows you to build up a list of cookies that you want to clear and those you want to keep, before deleting them.
Both of these may help speed things up by reducing the amount of work Safari has to perform whilst browsing. Regardless, I'd say that, unless there's a reason you've not mentioned for performing the "purging" that you do, making these two changes should see improvements in general web browsing if not specifically when loading Facebook. -
Asking about the procedure of class loading.......
I knew the procedure was like this:
1. Bootstrap classes
2. Replace JDK implementation: <java_home>/jre/lib/endorsed
3. Intstalled extensions: <java_home>/jre/lib/ext
4. class path
I am confused about the function of step 2 and 3
what is the difference of relacing ur original JDK and using Installed extensions???
It is understandable about you want an extension to your JDK, but relacing JDK seems no difference with extension
thx for furthur respondsSorry for posting again,
but does any one know, for example, calling the same
static method from the same name class, according to
the classloading list (in the 1st post), will the JVM
use the class at step 1 or 2??That has nothing to do with class loadiing.
When the class is loaded it is loaded. Either it is all loaded or it isn't. And you can't call a method, any method, without it being loaded.
>
PS. I know, in general, the 1st class that the JVM
finds in the classloading procedure will be used,
but, step 2 says "Replace JDK implementation", so I
wonder whether the classloading procedure would
actually be the 2nd step first and 1st step secondThere is no 'replacement'. -
A question about the getProperty method defined in the Security class
Hello Everyone!
I would like to ask a question about the getProperty method defined in the
Security class.
public static String getProperty(String key) Do you know how can I exract the list of all possible keys?.
Thanks in advance,I found the answer, in fact the keys are defined in the java.security file.
-
I tried to create a new google calendar in ical, but they did not show up, I tried this several times.
Now when I sync my iPad via iTunes all these failed attempts are showing up under the ical sync list in iTunes, how can I clear them from this list?See https://bugs.downthemall.net/ticket/2147
Google Search Bug
Reported by: openid:nathan wride Owned by:
Priority: major Milestone:
Component: Polish/Usability Version: 2.0.10
Keywords: Google search instant save bug Cc:
Operating System: Windows
Description
Hi Guys
I have found a bug/annoying thing that occurs frequently on google. When searching, DTA trys to download the search...
I'll try to attach a screenshot.
Attachments
[https://bugs.downthemall.net/attachment/ticket/2147/Screenshot.png Screenshot.png] Download (113.0 KB) - added by openid:nathan wride 4 weeks ago.
The screenshot that shows the bug.
Maybe you are looking for
-
856 xslt Mapping question ...
I was asked in the jdev forum to post this here as well :) Ramesh, I hate to keep bugging everyone but i have another question. I am trying to transform data into an X-12 856 document (outbound). I have most of the looping and everything working. My
-
Hi Experts Team, My scenario is IDoc to File interface. I need to create 12 different files based on the Plant code (WERKS). At the end of the day, i need to ftp the file to different locations. How can I do the design and is there any need for BPM h
-
How do I back up everything on my 3G before I restore it?
How do I ensure that my notes, voice memos, saved pages to my home page, bookmarks, emails, texts, apps, etc are not erased when I restore my damaged 3G? Backing up in itunes doesn't seem to save everything. It wasn't syncing all of my apps, so I'm
-
MP3 Downloader and Album i bought
I bought an album last night by the Nitty Gritty Dirt Band called Will The Circle Be Unbroken and it showed up in the downloader. Yet after starting the download last night it only downloaded 2 songs. There was no way to restart the downloads on the
-
Hi I have created process template (application entry to offer phase) for apprentice and assigned activity types. How can I use this template when I want to update candidate data.